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 <16416018+tqj...@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 <16416018+tqj...@users.noreply.github.com>
    Signed-off-by: Peter Toth <p_t...@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-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to