From 4a56ba34d4840fcad2f97f2b68191b7f1388f7c8 Mon Sep 17 00:00:00 2001 From: Dennis Zhang Date: Sun, 6 Sep 2020 00:37:05 -0700 Subject: [PATCH] Fix pg_is ready user --- kubernetes/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/templates/deployment.yaml b/kubernetes/templates/deployment.yaml index d63747a7..bb0b832f 100644 --- a/kubernetes/templates/deployment.yaml +++ b/kubernetes/templates/deployment.yaml @@ -29,7 +29,7 @@ spec: args: - /bin/sh - -c - - until pg_isready -h {{ .Values.config.db.host }} -p {{ .Values.config.db.port }} -U {{ .Values.config.db.port }}; do echo waiting for database; sleep 2; done; + - until pg_isready -h {{ .Values.config.db.host }} -p {{ .Values.config.db.port }} -U {{ .Values.config.db.user }}; do echo waiting for database; sleep 2; done; containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"