mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
fix: Correct YAML structure for scheduling in backup template and bump to 0.1.12
This commit is contained in:
@@ -44,7 +44,16 @@ spec:
|
||||
path: {{ .Values.backup.storagePath }}
|
||||
type: DirectoryOrCreate
|
||||
restartPolicy: OnFailure
|
||||
nodeSelector: {{ toYaml .Values.nodeSelector | nindent 10 }}
|
||||
affinity: {{ toYaml .Values.affinity | nindent 10 }}
|
||||
tolerations: {{ toYaml .Values.tolerations | nindent 10 }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user