From b884dd633c4d2d069ee0e42c843655b48927efeb Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sat, 27 Jan 2024 21:24:35 -0600 Subject: [PATCH] Added postgres env vars. --- .../apps/default/sonarr/app/helmrelease.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/kubernetes/apps/default/sonarr/app/helmrelease.yaml b/kubernetes/apps/default/sonarr/app/helmrelease.yaml index 7029cf3b..f7c00321 100644 --- a/kubernetes/apps/default/sonarr/app/helmrelease.yaml +++ b/kubernetes/apps/default/sonarr/app/helmrelease.yaml @@ -49,6 +49,22 @@ spec: SONARR__THEME: dark SONARR__POSTGRES_MAIN_DB: sonarr_main SONARR__POSTGRES_LOG_DB: sonarr_logs + SONARR__POSTGRES_HOST: + valueFrom: + secretKeyRef: + name: "${APP}-pguser-${DB_USER}" + key: host + SONARR__POSTGRES_PORT: "5432" + SONARR__POSTGRES_USER: + valueFrom: + secretKeyRef: + name: "${APP}-pguser-${DB_USER}" + key: user + SONARR__POSTGRES_PASSWORD: + valueFrom: + secretKeyRef: + name: "${APP}-pguser-${DB_USER}" + key: password TZ: America/Chicago envFrom: - secretRef: