|
|
@ -40,7 +40,12 @@ spec: |
|
|
|
containers: |
|
|
|
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
|
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: |
|
|
|
{{- if .Values.instance.zeoclient }} |
|
|
|
- name: ZEO_ADDRESS |
|
|
|