diff --git a/smardigo/templates/wordpress/deployment.yml b/smardigo/templates/wordpress/deployment.yml index 7684bc1..3109448 100644 --- a/smardigo/templates/wordpress/deployment.yml +++ b/smardigo/templates/wordpress/deployment.yml @@ -78,7 +78,7 @@ spec: 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.datasource.host }}; do echo waiting for postgres; sleep 2; done"] + 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"] diff --git a/smardigo/values.yaml b/smardigo/values.yaml index b14f575..de0b29e 100644 --- a/smardigo/values.yaml +++ b/smardigo/values.yaml @@ -72,7 +72,7 @@ wordpress: version: "latest" name: "smardigo/wordpress:1.3.1" database: - host: "dev-postgres-01" + host: "dev-maria-01" port: "3306" username: "dev_mobene_nsodev_connect_wordpress" password: "connect-wordpress-maria-admin"