diff --git a/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml b/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml index ee69a02..fe44ed7 100644 --- a/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml +++ b/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