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: