Browse Source

Plonecfg job runs before ZEO, cannot use it

master
Fábio Kaiser Rauber 4 years ago
parent
commit
7f5375d14b
  1. 5
      charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml

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

@ -41,13 +41,8 @@ spec:
name: {{ .Release.Name }}-plonecfg name: {{ .Release.Name }}-plonecfg
command: [ "/configure.sh" ] command: [ "/configure.sh" ]
env: env:
{{- if .Values.instance.zeoclient }}
- name: ZEO_ADDRESS
value: {{ template "portalmodelo.fullname" . }}-zeoserver:8100
{{- else }}
- name: ZEO_ADDRESS - name: ZEO_ADDRESS
value: "" value: ""
{{- end }}
- name: EMAIL - name: EMAIL
value: {{ .Values.portal.adminEmail }} value: {{ .Values.portal.adminEmail }}
- name: PASSWORD - name: PASSWORD

Loading…
Cancel
Save