Browse Source

Run plonecfg job after zeoserver is up

master
Fábio Kaiser Rauber 3 years ago
parent
commit
20577a2608
  1. 1
      charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml

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

@ -43,6 +43,7 @@ spec:
command: [ "/bin/sh", "-c" ] command: [ "/bin/sh", "-c" ]
args: 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/configure.cfg &&
sed -i "s/%SHARED_BLOB%/${ZEO_SHARED_BLOB_DIR}/g" /plone/instance/upgrades.cfg && sed -i "s/%SHARED_BLOB%/${ZEO_SHARED_BLOB_DIR}/g" /plone/instance/upgrades.cfg &&
/configure.sh /configure.sh

Loading…
Cancel
Save