From f4aa03274ef1e3f63f2d36d20d07d74f35098a15 Mon Sep 17 00:00:00 2001 From: Sven Ketelsen Date: Wed, 1 Jun 2022 08:43:00 +0200 Subject: [PATCH] bugfix: wordpress --- smardigo/templates/wordpress/deployment.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/smardigo/templates/wordpress/deployment.yml b/smardigo/templates/wordpress/deployment.yml index 3109448..1347119 100644 --- a/smardigo/templates/wordpress/deployment.yml +++ b/smardigo/templates/wordpress/deployment.yml @@ -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 }}"