Skip to content

Commit 3a427e9

Browse files
jiangzhopeter-toth
authored andcommitted
[SPARK-53495] Remove unused 'persistentVolume' access from operator rbac
### What changes were proposed in this pull request? This PR removes 'persistentVolume' access from operator in Helm chart ### Why are the changes needed? Operator and Spark workload manages persistentVolumeClaims but not persistenVolumes - this removes the unnecessary access according to the principle of least priviledge ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Helm lint and CIs ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#309 from jiangzho/rbac. Authored-by: Zhou JIANG <[email protected]> Signed-off-by: Peter Toth <[email protected]>
1 parent 28e0afb commit 3a427e9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ rules:
2525
- services
2626
- configmaps
2727
- persistentvolumeclaims
28-
- persistentvolumes
2928
- events
3029
verbs:
3130
- '*'

0 commit comments

Comments
 (0)