|
@ -40,7 +40,12 @@ spec: |
|
|
containers: |
|
|
containers: |
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
name: {{ .Release.Name }}-plonecfg |
|
|
name: {{ .Release.Name }}-plonecfg |
|
|
command: [ "/configure.sh" ] |
|
|
command: [ "/bin/sh", "-c" ] |
|
|
|
|
|
args: |
|
|
|
|
|
- >- |
|
|
|
|
|
sed -i "s/%SHARED_BLOB%/${ZEO_SHARED_BLOB_DIR}/g" /plone/instance/configure.cfg && |
|
|
|
|
|
sed -i "s/%SHARED_BLOB%/${ZEO_SHARED_BLOB_DIR}/g" /plone/instance/upgrades.cfg && |
|
|
|
|
|
/configure.sh |
|
|
env: |
|
|
env: |
|
|
{{- if .Values.instance.zeoclient }} |
|
|
{{- if .Values.instance.zeoclient }} |
|
|
- name: ZEO_ADDRESS |
|
|
- name: ZEO_ADDRESS |
|
|