Skip to content

Commit

Permalink
fix(arrs): update env variables
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Kreitzer <[email protected]>
  • Loading branch information
buroa committed Jun 11, 2024
1 parent 371eaf5 commit a3ac2e6
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 28 deletions.
14 changes: 7 additions & 7 deletions kubernetes/apps/media/prowlarr/app/externalsecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ spec:
template:
engineVersion: v2
data:
PROWLARR__API_KEY: "{{ .PROWLARR_API_KEY }}"
PROWLARR__POSTGRES_MAIN_DB: prowlarr_main
PROWLARR__POSTGRES_LOG_DB: prowlarr_log
PROWLARR__POSTGRES_HOST: &dbHost postgres-rw.databases.svc.cluster.local
PROWLARR__POSTGRES_PORT: "5432"
PROWLARR__POSTGRES_USER: &dbUser "{{ .PROWLARR_POSTGRES_USER }}"
PROWLARR__POSTGRES_PASSWORD: &dbPass "{{ .PROWLARR_POSTGRES_PASS }}"
PROWLARR__AUTH__APIKEY: "{{ .PROWLARR_API_KEY }}"
PROWLARR__POSTGRES__HOST: &dbHost postgres-rw.databases.svc.cluster.local
PROWLARR__POSTGRES__PORT: "5432"
PROWLARR__POSTGRES__USER: &dbUser "{{ .PROWLARR_POSTGRES_USER }}"
PROWLARR__POSTGRES__PASSWORD: &dbPass "{{ .PROWLARR_POSTGRES_PASS }}"
PROWLARR__POSTGRES__MAINDB: prowlarr_main
PROWLARR__POSTGRES__LOGDB: prowlarr_log
INIT_POSTGRES_DBNAME: prowlarr_main prowlarr_log
INIT_POSTGRES_HOST: *dbHost
INIT_POSTGRES_USER: *dbUser
Expand Down
13 changes: 7 additions & 6 deletions kubernetes/apps/media/prowlarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ spec:
repository: ghcr.io/buroa/prowlarr-develop
tag: 1.18.0.4543@sha256:0c9ee4eaf8920f06addd394ae5816c382557d84686c9f94ce73da169865dc469
env:
PROWLARR__AUTHENTICATION_METHOD: External
PROWLARR__AUTHENTICATION_REQUIRED: DisabledForLocalAddresses
PROWLARR__INSTANCE_NAME: Prowlarr
PROWLARR__PORT: &port 9696
PROWLARR__LOG_LEVEL: info
PROWLARR__THEME: dark
PROWLARR__APP__INSTANCENAME: Prowlarr
PROWLARR__APP__THEME: dark
PROWLARR__AUTH__METHOD: External
PROWLARR__AUTH__REQUIRED: DisabledForLocalAddresses
PROWLARR__LOG__LEVEL: info
PROWLARR__SERVER__PORT: &port 9696
PROWLARR__UPDATE__BRANCH: develop
TZ: ${TIMEZONE}
envFrom: *envFrom
probes:
Expand Down
14 changes: 7 additions & 7 deletions kubernetes/apps/media/radarr/app/externalsecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ spec:
template:
engineVersion: v2
data:
RADARR__API_KEY: "{{ .RADARR_API_KEY }}"
RADARR__POSTGRES_MAIN_DB: radarr_main
RADARR__POSTGRES_LOG_DB: radarr_log
RADARR__POSTGRES_HOST: &dbHost postgres-rw.databases.svc.cluster.local
RADARR__POSTGRES_PORT: "5432"
RADARR__POSTGRES_USER: &dbUser "{{ .RADARR_POSTGRES_USER }}"
RADARR__POSTGRES_PASSWORD: &dbPass "{{ .RADARR_POSTGRES_PASS }}"
RADARR__AUTH__APIKEY: "{{ .RADARR_API_KEY }}"
RADARR__POSTGRES__HOST: &dbHost postgres-rw.databases.svc.cluster.local
RADARR__POSTGRES__PORT: "5432"
RADARR__POSTGRES__USER: &dbUser "{{ .RADARR_POSTGRES_USER }}"
RADARR__POSTGRES__PASSWORD: &dbPass "{{ .RADARR_POSTGRES_PASS }}"
RADARR__POSTGRES__MAINDB: radarr_main
RADARR__POSTGRES__LOGDB: radarr_log
INIT_POSTGRES_DBNAME: radarr_main radarr_log
INIT_POSTGRES_HOST: *dbHost
INIT_POSTGRES_USER: *dbUser
Expand Down
13 changes: 7 additions & 6 deletions kubernetes/apps/media/radarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ spec:
repository: ghcr.io/buroa/radarr-develop
tag: 5.6.0.8846@sha256:bc6833d62e82771a2a34b9a664ef97994f6239fa8608eecc00c08950c4a84804
env:
RADARR__AUTHENTICATION_METHOD: External
RADARR__AUTHENTICATION_REQUIRED: DisabledForLocalAddresses
RADARR__INSTANCE_NAME: Radarr
RADARR__LOG_LEVEL: info
RADARR__PORT: &port 7878
RADARR__THEME: dark
RADARR__APP__INSTANCENAME: Radarr
RADARR__APP__THEME: dark
RADARR__AUTH__METHOD: External
RADARR__AUTH__REQUIRED: DisabledForLocalAddresses
RADARR__LOG__LEVEL: info
RADARR__SERVER__PORT: &port 7878
RADARR__UPDATE__BRANCH: develop
TZ: ${TIMEZONE}
envFrom: *envFrom
probes:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/apps/media/sonarr/app/externalsecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ spec:
engineVersion: v2
data:
SONARR__AUTH__APIKEY: "{{ .SONARR_API_KEY }}"
SONARR__POSTGRES_MAIN_DB: sonarr_main
SONARR__POSTGRES_LOG_DB: sonarr_log
SONARR__POSTGRES__HOST: &dbHost postgres-rw.databases.svc.cluster.local
SONARR__POSTGRES__PORT: "5432"
SONARR__POSTGRES__USER: &dbUser "{{ .SONARR_POSTGRES_USER }}"
SONARR__POSTGRES__PASSWORD: &dbPass "{{ .SONARR_POSTGRES_PASS }}"
SONARR__POSTGRES__MAINDB: sonarr_main
SONARR__POSTGRES__LOGDB: sonarr_log
INIT_POSTGRES_DBNAME: sonarr_main sonarr_log
INIT_POSTGRES_HOST: *dbHost
INIT_POSTGRES_USER: *dbUser
Expand Down

0 comments on commit a3ac2e6

Please sign in to comment.