diff --git a/kubernetes/apps/default/prowlarr/app/externalsecret.yaml b/kubernetes/apps/default/prowlarr/app/externalsecret.yaml index ac7ae670..8c6450d8 100644 --- a/kubernetes/apps/default/prowlarr/app/externalsecret.yaml +++ b/kubernetes/apps/default/prowlarr/app/externalsecret.yaml @@ -14,7 +14,7 @@ spec: engineVersion: v2 data: PROWLARR__API_KEY: "{{ .api_key }}" - PROWLARR__POSTGRES_HOST: "{{ .PROWLARR__POSTGRES_HOST}}" + PROWLARR__POSTGRES_HOST: "postgres-primary-real.database.svc" PROWLARR__POSTGRES_USER: "{{ .PROWLARR__POSTGRES_USER }}" PROWLARR__POSTGRES_PASSWORD: "{{ .PROWLARR__POSTGRES_PASSWORD }}" dataFrom: diff --git a/kubernetes/apps/default/radarr/app/externalsecret.yaml b/kubernetes/apps/default/radarr/app/externalsecret.yaml index a3aa2615..1e1c2382 100644 --- a/kubernetes/apps/default/radarr/app/externalsecret.yaml +++ b/kubernetes/apps/default/radarr/app/externalsecret.yaml @@ -16,7 +16,7 @@ spec: RADARR__API_KEY: "{{ .api_key }}" PUSHOVER_TOKEN: "{{ .radarr_token }}" PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}" - RADARR__POSTGRES_HOST: "{{ .RADARR__POSTGRES_HOST }}" + RADARR__POSTGRES_HOST: "postgres-primary-real.database.svc" RADARR__POSTGRES_USER: "{{ .RADARR__POSTGRES_USER }}" RADARR__POSTGRES_PASSWORD: "{{ .RADARR__POSTGRES_PASSWORD }}" dataFrom: diff --git a/kubernetes/apps/default/sonarr/app/externalsecret.yaml b/kubernetes/apps/default/sonarr/app/externalsecret.yaml index e04142a0..947423c5 100644 --- a/kubernetes/apps/default/sonarr/app/externalsecret.yaml +++ b/kubernetes/apps/default/sonarr/app/externalsecret.yaml @@ -16,7 +16,7 @@ spec: SONARR__API_KEY: "{{ .api_key }}" PUSHOVER_TOKEN: "{{ .sonarr_token }}" PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}" - SONARR__POSTGRES_HOST: "{{ .SONARR__POSTGRES_HOST }}" + SONARR__POSTGRES_HOST: "postgres-primary-real.database.svc" SONARR__POSTGRES_USER: "{{ .SONARR__POSTGRES_USER }}" SONARR__POSTGRES_PASSWORD: "{{ .SONARR__POSTGRES_PASSWORD }}" dataFrom: diff --git a/kubernetes/apps/observability/grafana/app/externalsecret.yaml b/kubernetes/apps/observability/grafana/app/externalsecret.yaml index 772cc2c1..1838d318 100644 --- a/kubernetes/apps/observability/grafana/app/externalsecret.yaml +++ b/kubernetes/apps/observability/grafana/app/externalsecret.yaml @@ -19,7 +19,7 @@ spec: GF_DATE_FORMATS_USE_BROWSER_LOCALE: "true" GF_SERVER_ROOT_URL: https://grafana.hsn.dev GF_DATABASE_NAME: "{{ .grafana_GF_DATABASE_NAME }}" - GF_DATABASE_HOST: "{{ .grafana_GF_DATABASE_HOST }}" + GF_DATABASE_HOST: "postgres-primary-real.database.svc" GF_DATABASE_USER: "{{ .grafana_GF_DATABASE_USER }}" GF_DATABASE_PASSWORD: "{{ .grafana_GF_DATABASE_PASSWORD }}" GF_DATABASE_SSL_MODE: "require"