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 name: {{ .Release.Name }}-plonecfg
command: [ "/configure.sh" ] command: [ "/configure.sh" ]
env: env:
- name: ZEO_ADDRESS
{{- if .Values.instance.zeoclient }} {{- if .Values.instance.zeoclient }}
- name: ZEO_ADDRESS
value: {{ template "portalmodelo.fullname" . }}-zeoserver:8100 value: {{ template "portalmodelo.fullname" . }}-zeoserver:8100
{{- if eq .Values.persistence.accessMode "ReadWriteMany" -}}
- name: ZEO_SHARED_BLOB_DIR
value: "on"
{{- else }} {{- else }}
- name: ZEO_SHARED_BLOB_DIR
value: "off"
{{- end }}
{{- else }}
- name: ZEO_ADDRESS
value: "" value: ""
{{- end }} {{- end }}
- name: EMAIL - name: EMAIL

Loading…
Cancel
Save