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 - name: {{ .Release.Name }}-zeopack
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- "/bin/bash"
- "-c"
args: args:
- zeopack - "python /docker-initialize.py && /plone/instance/bin/zeopack"
env: env:
- name: ZEO_ADDRESS - name: ZEO_ADDRESS
value: {{ template "portalmodelo.fullname" . }}-zeoserver:8100 value: {{ template "portalmodelo.fullname" . }}-zeoserver:8100

Loading…
Cancel
Save