chore: postgres

main
Sven Ketelsen 4 years ago
parent 05940e7b08
commit c4bc323e42

@ -2,7 +2,7 @@ connect:
image:
version: "9.0"
database:
host: "external-postgres"
host: "prodwork01-postgres-01"
name: "prodwork01_mobene_nsodev_connect"
username: "prodwork01_mobene_nsodev_connect"
password: ""

@ -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"]

@ -3,11 +3,6 @@ apiVersion: v1
kind: Service
metadata:
name: "{{ .Values.sharedService.postgres.host.name }}"
labels:
app: "{{ .Values.sharedService.postgres.host.name }}"
spec:
selector:
app: "{{ .Values.sharedService.postgres.host.name }}"
spec:
ports:
- protocol: TCP

Loading…
Cancel
Save