diff --git a/config/nsodev/values.yaml b/config/nsodev/values.yaml index f2216e6..45dd4ee 100644 --- a/config/nsodev/values.yaml +++ b/config/nsodev/values.yaml @@ -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: "" diff --git a/smardigo/templates/connect/deployment.yml b/smardigo/templates/connect/deployment.yml index e0a2c32..e5699bb 100644 --- a/smardigo/templates/connect/deployment.yml +++ b/smardigo/templates/connect/deployment.yml @@ -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"] diff --git a/smardigo/templates/postgres/external-postgres-service.yml b/smardigo/templates/postgres/external-postgres-service.yml index aeb58e5..0ebda96 100644 --- a/smardigo/templates/postgres/external-postgres-service.yml +++ b/smardigo/templates/postgres/external-postgres-service.yml @@ -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