|
|
@ -33,7 +33,7 @@ spec: |
|
|
|
- "/bin/bash" |
|
|
|
- "-c" |
|
|
|
args: |
|
|
|
- "/plone/instance/bin/backup" |
|
|
|
- "/plone/Python-2.7/bin/python /plone/instance/bin/backup" |
|
|
|
env: |
|
|
|
- name: TZ |
|
|
|
value: {{ .Values.portal.timeZone }} |
|
|
@ -62,10 +62,24 @@ spec: |
|
|
|
nodeSelector: |
|
|
|
{{- toYaml . | nindent 12 }} |
|
|
|
{{- end }} |
|
|
|
{{- with .Values.affinity }} |
|
|
|
affinity: |
|
|
|
{{- toYaml . | nindent 12 }} |
|
|
|
{{- end }} |
|
|
|
podAffinity: |
|
|
|
requiredDuringSchedulingIgnoredDuringExecution: |
|
|
|
- labelSelector: |
|
|
|
matchExpressions: |
|
|
|
- key: app.kubernetes.io/name |
|
|
|
operator: In |
|
|
|
values: |
|
|
|
- {{ include "portalmodelo.name" . }} |
|
|
|
- key: app.kubernetes.io/instance |
|
|
|
operator: In |
|
|
|
values: |
|
|
|
- {{ .Release.Name }} |
|
|
|
- key: app.kubernetes.io/component |
|
|
|
operator: In |
|
|
|
values: |
|
|
|
- zeoserver |
|
|
|
topologyKey: kubernetes.io/hostname |
|
|
|
{{- with .Values.tolerations }} |
|
|
|
tolerations: |
|
|
|
{{- toYaml . | nindent 12 }} |
|
|
|