From 2910a6020920134f13c988d8846a28be6aa349e0 Mon Sep 17 00:00:00 2001 From: Sven Ketelsen Date: Thu, 2 Jun 2022 11:24:27 +0200 Subject: [PATCH] chore: removed init container --- smardigo/templates/connect/deployment.yml | 10 ---------- smardigo/templates/wordpress/deployment.yml | 4 ---- 2 files changed, 14 deletions(-) diff --git a/smardigo/templates/connect/deployment.yml b/smardigo/templates/connect/deployment.yml index fb3b176..dd4d519 100644 --- a/smardigo/templates/connect/deployment.yml +++ b/smardigo/templates/connect/deployment.yml @@ -120,15 +120,5 @@ spec: value: "true" ports: - 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: - name: "{{ .Values.harbor.pull_secret }}" diff --git a/smardigo/templates/wordpress/deployment.yml b/smardigo/templates/wordpress/deployment.yml index 31367be..6b6e0b2 100644 --- a/smardigo/templates/wordpress/deployment.yml +++ b/smardigo/templates/wordpress/deployment.yml @@ -78,9 +78,5 @@ spec: volumeMounts: - name: wordpress-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: - name: "{{ .Values.harbor.pull_secret }}"