[backups] Update staggered backups
This PS updates yaml tree of values getting aligned with similar changes in osh-infra project. Change-Id: I9a5fc987bea7b4cb1214e329e5f77a0e26011d8d
This commit is contained in:
parent
d1c4a54bf7
commit
748dfc535d
@ -86,10 +86,10 @@ spec:
|
||||
{{ dict "envAll" $envAll "application" "etcd-backup" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 10 }}
|
||||
serviceAccountName: {{ .Values.service.name }}-{{ $serviceAccountName }}
|
||||
restartPolicy: OnFailure
|
||||
{{- if .Values.pod.etcd_backup }}
|
||||
{{- if .Values.pod.etcd_backup.affinity }}
|
||||
{{- if .Values.pod.affinity }}
|
||||
{{- if .Values.pod.affinity.etcd_backup }}
|
||||
affinity:
|
||||
{{ index .Values.pod.etcd_backup "affinity" | toYaml | indent 12}}
|
||||
{{ index .Values.pod.affinity "etcd_backup" | toYaml | indent 12}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
nodeSelector:
|
||||
|
@ -3,8 +3,8 @@ pod:
|
||||
labels:
|
||||
etcd-backup:
|
||||
staggered-backups: enabled
|
||||
etcd_backup:
|
||||
affinity:
|
||||
affinity:
|
||||
etcd_backup:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
|
Loading…
x
Reference in New Issue
Block a user