Skip to content

Commit

Permalink
delete-service-accounts-and-roles-before-creation (#1384)
Browse files Browse the repository at this point in the history
* delete-service-accounts-and-roles-before-creation

* bump spark-operator version
  • Loading branch information
TiansuYu authored Nov 18, 2021
1 parent 6939cbd commit eb5dc1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/spark-operator-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: spark-operator
description: A Helm chart for Spark on Kubernetes operator
version: 1.1.12
version: 1.1.13
appVersion: v1beta2-1.2.3-3.1.1
keywords:
- spark
Expand Down
4 changes: 2 additions & 2 deletions charts/spark-operator-chart/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ include "spark-operator.fullname" . }}
annotations:
"helm.sh/hook": pre-install
"helm.sh/hook-delete-policy": hook-failed
"helm.sh/hook-delete-policy": hook-failed, before-hook-creation
labels:
{{- include "spark-operator.labels" . | nindent 4 }}
rules:
Expand Down Expand Up @@ -113,7 +113,7 @@ metadata:
name: {{ include "spark-operator.fullname" . }}
annotations:
"helm.sh/hook": pre-install
"helm.sh/hook-delete-policy": hook-failed
"helm.sh/hook-delete-policy": hook-failed, before-hook-creation
labels:
{{- include "spark-operator.labels" . | nindent 4 }}
subjects:
Expand Down
2 changes: 1 addition & 1 deletion charts/spark-operator-chart/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ include "spark-operator.serviceAccountName" . }}
annotations:
"helm.sh/hook": pre-install
"helm.sh/hook-delete-policy": hook-failed
"helm.sh/hook-delete-policy": hook-failed, before-hook-creation
{{- with .Values.serviceAccounts.sparkoperator.annotations }}
{{ toYaml . | indent 4 }}
{{- end }}
Expand Down

0 comments on commit eb5dc1d

Please sign in to comment.