From 20577a2608b6b77cd0707bf5aa99e9e5c4e59bda Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Tue, 21 Sep 2021 14:44:28 -0300 Subject: [PATCH] Run plonecfg job after zeoserver is up --- charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml b/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml index 26c970d..bd4b4ea 100644 --- a/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml +++ b/charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml @@ -43,6 +43,7 @@ spec: command: [ "/bin/sh", "-c" ] args: - >- + sleep 10 && 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