Commit b418dd1
committed
[SPARK-57917] Fix workload RoleBinding name in operator namespace
### What changes were proposed in this pull request?
This PR fixes the workload `RoleBinding` name in `workload-rbac.yaml` to use
`$workloadResources.roleBinding.name` instead of `$workloadResources.serviceAccount.name`
when `workloadResources.namespaces.data` is empty, consistent with the per-namespace branch.
### Why are the changes needed?
The `RoleBinding` was named `spark` (the service account name) instead of the intended
`spark-workload-rolebinding`.
### Does this PR introduce _any_ user-facing change?
Yes. The `RoleBinding` in the operator namespace is now named `spark-workload-rolebinding`
instead of `spark`.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Fable 5
Closes #739 from dongjoon-hyun/dongjoon/nervous-leavitt-747dd2.
Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>1 parent 4077c8d commit b418dd1
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments