translate new sonarr environment variables and disable log db.

This commit is contained in:
Joseph Hanson 2024-07-03 08:34:04 -05:00
parent 132be9dfb0
commit 10df263f12
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 14 additions and 15 deletions

View file

@ -16,9 +16,12 @@ spec:
SONARR__API_KEY: "{{ .api_key }}"
PUSHOVER_TOKEN: "{{ .sonarr_token }}"
PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
SONARR__POSTGRES_HOST: "postgres-primary-real.database.svc"
SONARR__POSTGRES_USER: "{{ .SONARR__POSTGRES_USER }}"
SONARR__POSTGRES_PASSWORD: "{{ .SONARR__POSTGRES_PASSWORD }}"
SONARR__POSTGRES__HOST: "postgres-primary-real.database.svc"
SONARR__POSTGRES__USER: "{{ .SONARR_POSTGRES_USER }}"
SONARR__POSTGRES__PASSWORD: "{{ .SONARR_POSTGRES_PASSWORD }}"
SONARR__POSTGRES__PORT: "5432"
SONARR__POSTGRES__MAINDB: &dbName sonarr_main
SONARR__AUTH__APIKEY: "{{ .SONARR_API_KEY }}"
dataFrom:
- extract:
key: pushover

View file

@ -33,18 +33,14 @@ spec:
repository: ghcr.io/onedr0p/sonarr
tag: 4.0.6.1805@sha256:7b1c3ea6a392b764eba6c9536dddbb1ad046d911d1a257e1d1e27b019996a1ed
env:
# Ref: https://github.com/Radarr/Radarr/issues/7030#issuecomment-1039689518
# Ref: https://github.com/dotnet/runtime/issues/9336
COMPlus_EnableDiagnostics: "0"
SONARR__AUTHENTICATION_METHOD: External
SONARR__AUTHENTICATION_REQUIRED: DisabledForLocalAddresses
SONARR__INSTANCE_NAME: Sonarr
SONARR__PORT: &port 80
SONARR__LOG_LEVEL: info
SONARR__THEME: dark
SONARR__POSTGRES_MAIN_DB: sonarr_main
SONARR__POSTGRES_LOG_DB: sonarr_logs
SONARR__POSTGRES_PORT: "5432"
SONARR__APP__INSTANCENAME: Sonarr
SONARR__APP__THEME: dark
SONARR__AUTH__METHOD: External
SONARR__AUTH__REQUIRED: DisabledForLocalAddresses
SONARR__LOG__DBENABLED: "False"
SONARR__LOG__LEVEL: info
SONARR__SERVER__PORT: &port 80
SONARR__UPDATE__BRANCH: develop
TZ: America/Chicago
envFrom:
- secretRef: