From ab8fe084af8b9007db61499d4e47515b06e0731b Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 7 Oct 2020 15:50:49 -0300 Subject: [PATCH] Fix zeopack command --- charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml b/charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml index 7275629..e5ac366 100644 --- a/charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml +++ b/charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml @@ -25,8 +25,11 @@ spec: - name: {{ .Release.Name }}-zeopack image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + command: + - "/bin/bash" + - "-c" args: - - zeopack + - "python /docker-initialize.py && /plone/instance/bin/zeopack" env: - name: ZEO_ADDRESS value: {{ template "portalmodelo.fullname" . }}-zeoserver:8100