Skip to content

Commit 9791943

Browse files
TQJADEPeter Toth
authored andcommitted
[SPARK-53027] Operator sa should be able to create ingress
### What changes were proposed in this pull request? Operator fail to create ingress for spec with driverServiceIngressSpec. ### Why are the changes needed? Modify the role and grant the access ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? Manually modify the role' s spec and test with sample CR. ### Was this patch authored or co-authored using generative AI tooling? no Closes #293 from TQJADE/ingress-rbac. Authored-by: Qi Tan <[email protected]> Signed-off-by: Peter Toth <[email protected]>
1 parent 34ae166 commit 9791943

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ rules:
4747
- '*'
4848
verbs:
4949
- '*'
50+
- apiGroups:
51+
- "networking.k8s.io"
52+
resources:
53+
- ingresses
54+
verbs:
55+
- '*'
5056
{{- end }}
5157

5258
{{/*

0 commit comments

Comments
 (0)