From a719e24e53189b395fa25baba96cc650c5edb0b3 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Wed, 12 Jun 2024 08:49:45 +0530 Subject: [PATCH] fix: database reference for mission control topology --- charts/mission-control/templates/mission-control.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/mission-control/templates/mission-control.yaml b/charts/mission-control/templates/mission-control.yaml index 3b6a0d4..4caabdf 100644 --- a/charts/mission-control/templates/mission-control.yaml +++ b/charts/mission-control/templates/mission-control.yaml @@ -6,10 +6,16 @@ metadata: spec: postgres: database: - value: mission-control + valueFrom: + secretKeyRef: + name: incident-commander-postgres + key: DATABASE insecureTLS: true host: - value: postgres + valueFrom: + secretKeyRef: + name: incident-commander-postgres + key: POSTGRES_HOST username: valueFrom: secretKeyRef: