|
@ -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 }} |
|
|
|
|
|
- name: ZEO_SHARED_BLOB_DIR |
|
|
|
|
|
value: "off" |
|
|
|
|
|
{{- end }} |
|
|
{{- else }} |
|
|
{{- else }} |
|
|
|
|
|
- name: ZEO_ADDRESS |
|
|
value: "" |
|
|
value: "" |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
- name: EMAIL |
|
|
- name: EMAIL |
|
|