From 95b1ce21741aec408a6dec96946e8c2a3d5f9a72 Mon Sep 17 00:00:00 2001 From: Nikhil Khinchi Date: Tue, 20 Sep 2022 23:16:23 +0530 Subject: [PATCH] update authservice --- .../templates/authservice/deployment.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/charts/cdefense/templates/authservice/deployment.yaml b/charts/cdefense/templates/authservice/deployment.yaml index 501afa2..8914dea 100644 --- a/charts/cdefense/templates/authservice/deployment.yaml +++ b/charts/cdefense/templates/authservice/deployment.yaml @@ -30,6 +30,21 @@ spec: - name: authservice image: {{ .Values.authservice.image }}:{{ .Values.version }} env: + - name: POSTGRE_DB_URL + valueFrom: + configMapKeyRef: + name: cdefense-config + key: DB_CONNECTION_STRING + - name: POSTGRE_DB_USERNAME + valueFrom: + configMapKeyRef: + name: cdefense-config + key: DB_USER + - name: POSTGRE_DB_PASSWORD + valueFrom: + secretKeyRef: + name: cdefense-secrets + key: DB_PASSWORD - name: SENTRY_ENV valueFrom: configMapKeyRef: