chore: removed init container

main
Sven Ketelsen 4 years ago
parent c48cae7b6b
commit 2910a60209

@ -120,15 +120,5 @@ spec:
value: "true" value: "true"
ports: ports:
- containerPort: 8080 - containerPort: 8080
initContainers:
- name: init-iam
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.connect.database.host }}; do echo waiting for postgres; sleep 2; done"]
- name: init-elasticsearch
image: busybox:1.28
command: ['sh', '-c', "until nslookup {{ .Values.connect.elastic.host }}; do echo waiting for elastic; sleep 2; done"]
imagePullSecrets: imagePullSecrets:
- name: "{{ .Values.harbor.pull_secret }}" - name: "{{ .Values.harbor.pull_secret }}"

@ -78,9 +78,5 @@ spec:
volumeMounts: volumeMounts:
- name: wordpress-content - name: wordpress-content
mountPath: /var/www/html/wp-content mountPath: /var/www/html/wp-content
initContainers:
- name: init-maria
image: busybox:1.28
command: ['sh', '-c', "until nslookup {{ .Values.wordpress.database.host }}; do echo waiting for maria; sleep 2; done"]
imagePullSecrets: imagePullSecrets:
- name: "{{ .Values.harbor.pull_secret }}" - name: "{{ .Values.harbor.pull_secret }}"

Loading…
Cancel
Save