fix: Correct YAML structure for scheduling in backup template and bump to 0.1.12

This commit is contained in:
sha
2026-03-16 02:31:41 +02:00
parent d8c174236c
commit c1fbda0798
2 changed files with 13 additions and 4 deletions
+12 -3
View File
@@ -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 }}