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