From b55f8ecc81ac4c47314b650c436b5bc1ee1534c8 Mon Sep 17 00:00:00 2001 From: Durgadas Kamath Date: Sat, 24 Nov 2018 14:14:15 +0530 Subject: [PATCH] Fixes #2 env variable for postgres password As per postgres documentation on docker hub (https://hub.docker.com/r/library/postgres/) ``` db: image: postgres restart: always environment: POSTGRES_PASSWORD: example ``` --- complex/k8s/postgres-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/complex/k8s/postgres-deployment.yaml b/complex/k8s/postgres-deployment.yaml index d91e442..2869a0f 100644 --- a/complex/k8s/postgres-deployment.yaml +++ b/complex/k8s/postgres-deployment.yaml @@ -26,7 +26,7 @@ spec: mountPath: /var/lib/postgresql/data subPath: postgres env: - - name: PGPASSWORD + - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: name: pgpassword