Skip to content

Commit

Permalink
Delete Job scheduling (#520)
Browse files Browse the repository at this point in the history
Signed-off-by: George Kaz <[email protected]>

Signed-off-by: George Kaz <[email protected]>
Co-authored-by: anishakj <[email protected]>
  • Loading branch information
georgekaz and anishakj authored Jan 14, 2023
1 parent 66fcc71 commit a4a345f
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 a4a345f

Please sign in to comment.