|
|
@ -43,7 +43,6 @@ spec: |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /data |
|
|
|
name: data |
|
|
|
{{- end }} |
|
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
|
name: {{ .Release.Name }}-initplone |
|
|
|
command: |
|
|
@ -56,6 +55,7 @@ spec: |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /data |
|
|
|
name: data |
|
|
|
{{- end }} |
|
|
|
{{- if .Values.portal.createAndUpgrade }} |
|
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
|
name: {{ .Release.Name }}-plonecfg |
|
|
@ -91,9 +91,11 @@ spec: |
|
|
|
{{- if .Values.instance.zeoclient }} |
|
|
|
- name: ZEO_ADDRESS |
|
|
|
value: {{ template "portalmodelo.fullname" . }}-zeoserver:8100 |
|
|
|
{{- if eq .Values.persistence.accessMode "ReadWriteMany"}} |
|
|
|
- name: ZEO_SHARED_BLOB_DIR |
|
|
|
value: "on" |
|
|
|
{{- end }} |
|
|
|
{{- end }} |
|
|
|
- name: TZ |
|
|
|
value: {{ .Values.portal.timeZone }} |
|
|
|
- name: ZODB_CACHE_SIZE |
|
|
@ -124,19 +126,19 @@ spec: |
|
|
|
periodSeconds: 10 |
|
|
|
successThreshold: 1 |
|
|
|
timeoutSeconds: 2 |
|
|
|
{{- if eq .Values.persistence.accessMode "ReadWriteMany" }} |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /data |
|
|
|
name: data |
|
|
|
{{- end }} |
|
|
|
resources: |
|
|
|
{{- toYaml .Values.resources.plone | nindent 12 }} |
|
|
|
restartPolicy: Always |
|
|
|
{{- if .Values.persistence.enabled }} |
|
|
|
volumes: |
|
|
|
- name: data |
|
|
|
{{- if .Values.persistence.enabled }} |
|
|
|
persistentVolumeClaim: |
|
|
|
claimName: data |
|
|
|
{{- else }} |
|
|
|
emptyDir: {} |
|
|
|
{{- end }} |
|
|
|
{{- with .Values.nodeSelector }} |
|
|
|
nodeSelector: |
|
|
|