Browse Source

Set SHARED_BLOB_DIR correctly on plonecfg

master
Fábio Kaiser Rauber 4 years ago
parent
commit
aa28be85e3
  1. 10
      charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml

10
charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml

@ -42,10 +42,18 @@ spec:
name: {{ .Release.Name }}-plonecfg
command: [ "/configure.sh" ]
env:
- name: ZEO_ADDRESS
{{- 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"
{{- else }}
- name: ZEO_SHARED_BLOB_DIR
value: "off"
{{- end }}
{{- else }}
- name: ZEO_ADDRESS
value: ""
{{- end }}
- name: EMAIL

Loading…
Cancel
Save