From 00227aaf2b7d54a4588a6352311e68b718fe9b7b Mon Sep 17 00:00:00 2001 From: stormeye2000 Date: Fri, 23 Feb 2024 11:56:18 +0000 Subject: [PATCH] postgres password in the deployment.yaml --- store-consumer/deploy/deployment.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/store-consumer/deploy/deployment.yaml b/store-consumer/deploy/deployment.yaml index c59d62b..2b3d299 100644 --- a/store-consumer/deploy/deployment.yaml +++ b/store-consumer/deploy/deployment.yaml @@ -17,6 +17,13 @@ spec: spec: serviceAccount: kafka-account containers: + - env: + - name: POSTGRES_PASSWORD + valueFrom: + secretKeyRef: + key: superUserPassword + name: postgres-secret + name: store-consumer - image: LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY/IMAGE:TAG resources: requests: