From c7e3547004bf7f6a751c8c4625ec2d181dfb2bd5 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Thu, 10 Jul 2025 11:03:17 +0200 Subject: [PATCH] fix: remove Helm caps queries --- deploy/helm/spark-k8s-operator/templates/roles.yaml | 2 -- deploy/helm/spark-k8s-operator/templates/spark-clusterrole.yaml | 2 -- .../spark-k8s-operator/templates/spark-connect-clusterrole.yaml | 2 -- .../spark-k8s-operator/templates/spark-history-clusterrole.yaml | 2 -- 4 files changed, 8 deletions(-) diff --git a/deploy/helm/spark-k8s-operator/templates/roles.yaml b/deploy/helm/spark-k8s-operator/templates/roles.yaml index 110e5895..5b57f990 100644 --- a/deploy/helm/spark-k8s-operator/templates/roles.yaml +++ b/deploy/helm/spark-k8s-operator/templates/roles.yaml @@ -151,7 +151,6 @@ rules: - patch - create - delete -{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }} - apiGroups: - security.openshift.io resources: @@ -160,4 +159,3 @@ rules: - nonroot-v2 verbs: - use -{{ end }} diff --git a/deploy/helm/spark-k8s-operator/templates/spark-clusterrole.yaml b/deploy/helm/spark-k8s-operator/templates/spark-clusterrole.yaml index de4beef8..8fd6a084 100644 --- a/deploy/helm/spark-k8s-operator/templates/spark-clusterrole.yaml +++ b/deploy/helm/spark-k8s-operator/templates/spark-clusterrole.yaml @@ -30,7 +30,6 @@ rules: - events verbs: - create -{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }} - apiGroups: - security.openshift.io resources: @@ -39,4 +38,3 @@ rules: - nonroot-v2 verbs: - use -{{ end }} diff --git a/deploy/helm/spark-k8s-operator/templates/spark-connect-clusterrole.yaml b/deploy/helm/spark-k8s-operator/templates/spark-connect-clusterrole.yaml index eafc5e73..b9dbd1af 100644 --- a/deploy/helm/spark-k8s-operator/templates/spark-connect-clusterrole.yaml +++ b/deploy/helm/spark-k8s-operator/templates/spark-connect-clusterrole.yaml @@ -30,7 +30,6 @@ rules: - events verbs: - create -{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }} - apiGroups: - security.openshift.io resources: @@ -39,4 +38,3 @@ rules: - nonroot-v2 verbs: - use -{{ end }} diff --git a/deploy/helm/spark-k8s-operator/templates/spark-history-clusterrole.yaml b/deploy/helm/spark-k8s-operator/templates/spark-history-clusterrole.yaml index 4b9013c6..9c19fa42 100644 --- a/deploy/helm/spark-k8s-operator/templates/spark-history-clusterrole.yaml +++ b/deploy/helm/spark-k8s-operator/templates/spark-history-clusterrole.yaml @@ -30,7 +30,6 @@ rules: - events verbs: - create -{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }} - apiGroups: - security.openshift.io resources: @@ -39,4 +38,3 @@ rules: - nonroot-v2 verbs: - use -{{ end }}