You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pt...@apache.org on 2025/08/05 18:29:41 UTC
(spark-kubernetes-operator) branch main updated: [SPARK-53027] Operator sa should be able to create ingress
This is an automated email from the ASF dual-hosted git repository.
ptoth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 9791943 [SPARK-53027] Operator sa should be able to create ingress
9791943 is described below
commit 9791943e6a2f61bb173baa6858c50a88bc90f11f
Author: Qi Tan <16...@users.noreply.github.com>
AuthorDate: Tue Aug 5 20:28:00 2025 +0200
[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 <16...@users.noreply.github.com>
Signed-off-by: Peter Toth <p_...@apple.com>
---
.../helm/spark-kubernetes-operator/templates/operator-rbac.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml b/build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml
index eebbf55..7890357 100644
--- a/build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml
+++ b/build-tools/helm/spark-kubernetes-operator/templates/operator-rbac.yaml
@@ -47,6 +47,12 @@ rules:
- '*'
verbs:
- '*'
+ - apiGroups:
+ - "networking.k8s.io"
+ resources:
+ - ingresses
+ verbs:
+ - '*'
{{- end }}
{{/*
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org