Skip to content

Commit 840ab2d

Browse files
[release-2.3] Grant get/patch permissions for SparkConnect CRD to hook ClusterRole (#2611)
* Grant get/patch permissions for SparkConnect CRD to hook ClusterRole Signed-off-by: Yi Chen <[email protected]> * Update Helm unit tests Signed-off-by: Yi Chen <[email protected]> --------- Signed-off-by: Yi Chen <[email protected]> Co-authored-by: Yi Chen <[email protected]>
1 parent d69901f commit 840ab2d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

charts/spark-operator-chart/templates/hook/cluster_role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ rules:
3333
- customresourcedefinitions
3434
resourceNames:
3535
- sparkapplications.sparkoperator.k8s.io
36+
- sparkconnects.sparkoperator.k8s.io
3637
- scheduledsparkapplications.sparkoperator.k8s.io
3738
verbs:
3839
- get

charts/spark-operator-chart/tests/hook/cluster_role_test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ tests:
5050
- customresourcedefinitions
5151
resourceNames:
5252
- sparkapplications.sparkoperator.k8s.io
53+
- sparkconnects.sparkoperator.k8s.io
5354
- scheduledsparkapplications.sparkoperator.k8s.io
5455
verbs:
5556
- get

0 commit comments

Comments
 (0)