bugfix: wordpress

main
Sven Ketelsen 4 years ago
parent 8daa807137
commit f4aa03274e

@ -69,18 +69,11 @@ spec:
secretKeyRef:
name: "connect-secrets"
key: AUTH_TOKEN
ports:
- containerPort: 80
initContainers:
- name: init-iam
- name: init-maria
image: busybox:1.28
command: ['sh', '-c', "until nslookup iam; do echo waiting for iam; sleep 2; done"]
- name: init-postgres
image: busybox:1.28
command: ['sh', '-c', "until nslookup {{ .Values.wordpress.database.host }}; do echo waiting for postgres; sleep 2; done"]
- name: init-elasticsearch
image: busybox:1.28
command: ['sh', '-c', "until nslookup {{ .Values.wordpress.elastic.host }}; do echo waiting for elastic; sleep 2; done"]
command: ['sh', '-c', "until nslookup {{ .Values.wordpress.database.host }}; do echo waiting for maria; sleep 2; done"]
imagePullSecrets:
- name: "{{ .Values.harbor.pull_secret }}"

Loading…
Cancel
Save