chore: postgres

main
Sven Ketelsen 4 years ago
parent fbe15dad3c
commit 05940e7b08

@ -2,7 +2,7 @@ connect:
image:
version: "9.0"
database:
host: "prodwork01-postgres-01"
host: "external-postgres"
name: "prodwork01_mobene_nsodev_connect"
username: "prodwork01_mobene_nsodev_connect"
password: ""
@ -30,8 +30,6 @@ connect:
hostAliases:
- name: "prodwork01-kube-keycloak.smardigo.digital"
ip: "10.3.0.12"
- name: "prodwork01-postgres-01"
ip: "10.3.0.7"
- name: "dev-elastic-stack-elastic-01"
ip: "10.3.0.13"
- name: "dev-elastic-stack-elastic-02"

@ -170,9 +170,9 @@ spec:
- 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-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"]

Loading…
Cancel
Save