Skip to content

Commit

Permalink
Webhook init and cleanup should respect nodeSelector (#1545)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikcw committed Jun 8, 2022
1 parent 0849949 commit 9aa84a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
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.24
version: 1.1.25
appVersion: v1beta2-1.3.7-3.1.1
keywords:
- spark
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/spark-operator-chart/templates/webhook-init-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}

0 comments on commit 9aa84a4

Please sign in to comment.