Browse Source

Fix portal creation with zeo server

master
Fábio Kaiser Rauber 4 years ago
parent
commit
92424ed84e
  1. 7
      charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml

7
charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml

@ -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

Loading…
Cancel
Save