Browse Source

Fix zeopack command

master
Fábio Kaiser Rauber 4 years ago
parent
commit
ab8fe084af
  1. 5
      charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml

5
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

Loading…
Cancel
Save