Skip to content

Commit

Permalink
delete-job-scheduling
Browse files Browse the repository at this point in the history
make delete Job respect scheduling choices
  • Loading branch information
georgekaz authored Dec 13, 2022
1 parent c29d475 commit 5dd9cfe
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/zookeeper-operator/templates/pre-delete-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,16 @@ spec:
configMap:
name: {{ template "zookeeper-operator.fullname" . }}-pre-delete
defaultMode: 0555
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.affinity }}
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
{{- end }}

0 comments on commit 5dd9cfe

Please sign in to comment.