feat(sonarr): try to fix sonarr

This commit is contained in:
SeanOMik 2024-10-15 18:19:28 -04:00
parent 927025ea2d
commit 7707239128
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
2 changed files with 86 additions and 72 deletions

View File

@ -18,22 +18,21 @@ spec:
values: values:
controllers: controllers:
main: main:
pod: initContainers:
securityContext: init-db:
runAsNonRoot: true image:
runAsUser: 10000 repository: ghcr.io/onedr0p/postgres-init
runAsGroup: 10000 tag: 16
fsGroup: 10000 envFrom: &envFrom
fsGroupChangePolicy: OnRootMismatch - secretRef:
name: sonarr-secret
containers: containers:
sonarr: sonarr:
image: image:
repository: ghcr.io/onedr0p/sonarr-develop repository: ghcr.io/onedr0p/sonarr-develop
tag: 4.0.9.2457 tag: 4.0.9.2457
envFrom: envFrom: *envFrom
- secretRef:
name: sonarr-secret
env: env:
TZ: America/New_York TZ: America/New_York
SONARR__APP__INSTANCENAME: Sonarr SONARR__APP__INSTANCENAME: Sonarr
@ -44,9 +43,7 @@ spec:
SONARR__LOG__LEVEL: info SONARR__LOG__LEVEL: info
SONARR__SERVER__PORT: &port 8989 SONARR__SERVER__PORT: &port 8989
SONARR__UPDATE__BRANCH: develop SONARR__UPDATE__BRANCH: develop
SONARR__POSTGRES__HOST: postgresql.database.svc
SONARR__POSTGRES__PORT: "5432"
SONARR__POSTGRES__MAINDB: sonarr_main
probes: probes:
liveness: &probes liveness: &probes
enabled: true enabled: true
@ -90,6 +87,25 @@ spec:
name: sonarr-secret name: sonarr-secret
key: SONARR__AUTH__APIKEY key: SONARR__AUTH__APIKEY
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 10000
runAsGroup: 10000
fsGroup: 10000
fsGroupChangePolicy: OnRootMismatch
service:
main:
controller: main
ports:
http:
port: *port
metrics:
port: *metricsPort
protocol: HTTP
ingress: ingress:
main: main:
annotations: annotations:
@ -105,17 +121,6 @@ spec:
identifier: main identifier: main
port: http port: http
service:
main:
controller: main
ports:
http:
port: *port
metrics:
port: *metricsPort
protocol: HTTP
persistence: persistence:
config: config:
existingClaim: sonarr existingClaim: sonarr

View File

@ -4,69 +4,78 @@ metadata:
name: sonarr-secret name: sonarr-secret
namespace: download namespace: download
stringData: stringData:
SONARR__AUTH__APIKEY: ENC[AES256_GCM,data:Z0TKYOp2veBJ/ctC3z1ooj/b8J1p7ewUWX7ItIFWcpA=,iv:oY+k9x+BZxsGW5oAmNncApU+6M6YUx1q+pXDMldsg0M=,tag:lBJHGeSHw8IKS2nSFP/0aA==,type:str] SONARR__AUTH__APIKEY: ENC[AES256_GCM,data:wH/QrhslJ4NJ/hnsfceyn/B5gpeMSoG0zgVuoZjTaLE=,iv:ERxDsNOrN02JtPJoov52HIqk2te4XdzfsNPig2d0388=,tag:hHlY2seNVjWQQAaLR/AlPA==,type:str]
SONARR__POSTGRES__USER: ENC[AES256_GCM,data:vdcAhdIh,iv:tCRA3HFh6G7GUPpt5jFuqunaSRFiD90+b857vrt7tys=,tag:k02ojbFwZi6iufAOP2Fvjg==,type:str] SONARR__POSTGRES__HOST: ENC[AES256_GCM,data:ZRO0EknQXPDl0vMp9F0E3cYHb177W2s=,iv:Qz91I05FWi+a1XqnELubeZ1laXqEiKqVy0HcV/yMk7o=,tag:LBE6HQNGWNb26wahvd4z1w==,type:str]
SONARR__POSTGRES__PASSWORD: ENC[AES256_GCM,data:0uqO/FMm3b/DXtthjBLI7HXoujqpjCvs66yTbzuAiDM=,iv:E/FP0rDmFQPlAM00hOGR3lB4WW22W7XezSKYGfStUGM=,tag:cC+IOkw6Oqzz8iFoTrZq1Q==,type:str] SONARR__POSTGRES__PORT: ENC[AES256_GCM,data:1d58CA==,iv:vpFv8u41johBC+DAoDkPTWbU17F+cFNsQwGw3dPSGkQ=,tag:ey4qKtXps8LwtRvpDfmWCQ==,type:str]
SONARR__POSTGRES__MAINDB: ENC[AES256_GCM,data:cTZ1/Ke0wAYDaZ4=,iv:mDWKt86DgnDKyNTdFXKmpisJJZOxwuCwhxBi11GlkLM=,tag:FJ4oxcyB4msTrl0MkI2Y3A==,type:str]
SONARR__POSTGRES__USER: ENC[AES256_GCM,data:+9kAfF9B,iv:bRCPZL/GtFdAwmxRi/2djNY4yaR4WDO3yz0GAA28vTM=,tag:gODcSMkuUFvdiG0CX6eOiQ==,type:str]
SONARR__POSTGRES__PASSWORD: ENC[AES256_GCM,data:56i8fbmSSw20s5tlO0bmjAjM0GbgEa4/xBP/kxV9CJs=,iv:8aVi7zXO7lPaQtywcz7TFuhjfzF78FepGnWY8zpJVOc=,tag:MhQfl71bsOOAp/CtA4wrpw==,type:str]
INIT_POSTGRES_DBNAME: ENC[AES256_GCM,data:IawAiQ8t5XA1usI=,iv:wTBsEte7iAoh1zK2G6fZDvmd3Ek0On4MlJqUq7JYjQc=,tag:78fLARKLMUEegE9nekHVTQ==,type:str]
INIT_POSTGRES_HOST: ENC[AES256_GCM,data:iVfDgOtTw9ZShmi+Y8Qf3kKaVqTMfCk=,iv:qSA/pUuX6i97YYBzITSsk8cndUJKyFzR12IcWbUT3LE=,tag:SD4emsW3RTtp64L0b92qQg==,type:str]
INIT_POSTGRES_PORT: ENC[AES256_GCM,data:s3DpOA==,iv:z5/0iwgEFSjC3e3yKmBvqfsz8AQWFo//VnkEp7BKmQc=,tag:BJix79TRREN2DgDRZ5xY7w==,type:str]
INIT_POSTGRES_USER: ENC[AES256_GCM,data:5fBNl8Eu,iv:6diK59WCNWot0UPjB3yPSXFeGHJyqQCRvJP45qjYj44=,tag:PBX2riRM/fRt3FgvcuA6bw==,type:str]
INIT_POSTGRES_PASS: ENC[AES256_GCM,data:6Zz3WsH+cTWZcUE1A5iOFxV/dZKPpzJ5ES6isxJNuCQ=,iv:wYsim1QM0HLKRtGhx55bBMh38CzmRIb6NK4rHzLT43A=,tag:2oNe85hrb7SWOYjjEq+S2A==,type:str]
INIT_POSTGRES_SUPER_PASS: ENC[AES256_GCM,data:B1u4JcKnMbNoFY67SSPJIrOlP0EexqH0A01HZWWoLhA=,iv:KUg8iyDhFBumEnb5ILgjIyjZ9hfbkpVq1Bayzci2ujA=,tag:nRpAV2+GLGEgRCVkisqJ6w==,type:str]
sops: sops:
kms: [] kms: []
gcp_kms: [] gcp_kms: []
azure_kv: [] azure_kv: []
hc_vault: [] hc_vault: []
age: [] age: []
lastmodified: "2024-10-15T21:30:43Z" lastmodified: "2024-10-15T22:13:12Z"
mac: ENC[AES256_GCM,data:cX94qYBsvl4+cUOrEI6xSpHY/mlQAvk4d6Q5KyRE1QaqX/pau0zJEzczaF4j9UvWGfl7dm5xuR0mrSldwRBg6M/lA6B8xxIACXaCNxdDBj2pmwOCROi6v78BLtB5P7E8Y+wwoQzVxEQQnOQDIFQJ/mMmy+D6a9BmJ5ulneEeouc=,iv:aZf9GZXAOeU3Z3oq2rQ1P6fW8TMKVHwJXjn2CpZHNjg=,tag:wK0iU+FRJylxmYl5qcq4xg==,type:str] mac: ENC[AES256_GCM,data:anliTRQzhNy4iy5244g/di36HwXe3bwfFzxpFnVN0MxKwCqprAQioOtHxZXzFVxv8SbHNDwAKzEnC3oGze12SC/+SOYhQHloWKCLHt5J1pCTt0UFKfd0k83wahDkhmn/WcqsOfDlFxrp8yv/hrEqx7oJ4o83ZA2TW9/6CaKXY+c=,iv:QPpITIy7teyH9FKj9I+Jkv7sUg1t5kFW19J6Si9ZfH4=,tag:v+ZPT+OP5QG2UbDGR59DWg==,type:str]
pgp: pgp:
- created_at: "2024-10-15T21:30:43Z" - created_at: "2024-10-15T22:13:12Z"
enc: |- enc: |-
-----BEGIN PGP MESSAGE----- -----BEGIN PGP MESSAGE-----
hQIMAwAAAAAAAAAAAQ/+J4pyPCDaePFBF+1IgYzwaefDpRFAkP0kNzHObPZL1vUD hQIMAwAAAAAAAAAAAQ//cFHS3uCUlFYdR4lvSL99yUonFt+NB4h36TQII7xSc6hq
4GM3dQTqN8Ay8NoBAasq/dNKzDSjOvMTShZO2YXQJoA8019Q6yZhgc+l1B7bnB+W GfOhP+sKeEVNrLmU8InPQrbWg2vDz0C2w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MOWEhwfFpd9E 3MFulZx8Wi41dNmVupn9qdVwL/aY+7A9sLEWtdQooamsdx5c3XhjoChtkCkRYEHL
wLLXOgCLiFIw77OUBNa4Rcg/v6oYrHKf2UKklOtt6QrqcnVnZT2l2bTUaWupD0Rl awHCBPmGp+O8suxJCVI+O00R5MNRsES37WIF7m4glxDOvROIFpeJkw9Gdgkq+qtj
lq0/sadpV8FsYtIS1EQ6j7EVvAOZNEdC6L090CQ7bnPiwQyHdS3b6J49RE55TcOP JrztEHfIXgmH1tgcH8SWZ7RyZm2EMw1LR9krDEbP2sOUIDH0IuG368i9OotX/osF
n743wfZNcmqEeV0ooUkGoW6r5q0jvaUBrTbVpJszktps9uBybO5qgqobjdexUtRo ohcbm/l3WynwdRGozwnRXz6wLNbPM/4+bmBFBn8xIyokPXY4Xr/XuptnBl/IZtRo
AQkCEIda5ST1hWg6TgORmRI2cHqUdw+b4dMy74l3a1RZpBPHyKPbP9e7J98BGm7C AQkCEK1YCERp6PPlryv/M9vOfOiHDZue4EXTb/fgY55SGfaDpMGTK2/jCmDDluqA
XAyNC9vgDwjfp+BwHzPjfA3KtXZDjg2Gu5PFU3cdWWlWhLSreG1+mtsjWjXGAKq+ EKRN2dRQqDfXnE6gH8ZpuBvBBv/Z++xv3I7C/vAfc5t8z4QRsaQFE+P/zYU00f6s
GN4DyUYIF60= iQqH9sMrTks=
=DCkn =pXbd
-----END PGP MESSAGE----- -----END PGP MESSAGE-----
fp: BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD fp: BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD
- created_at: "2024-10-15T21:30:43Z" - created_at: "2024-10-15T22:13:12Z"
enc: |- enc: |-
-----BEGIN PGP MESSAGE----- -----BEGIN PGP MESSAGE-----
hQIMAwAAAAAAAAAAAQ//bqiURh1qRFK0fbL6E7UlU9wIw0Q2jkGQ+FF4gYKTTTtr hQIMAwAAAAAAAAAAARAAuUR8Z9PShQnQ1iq0yGln4z0ktuM5r3eKM8n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rcExO5sbDDzLjeC61B3tSb pGh502rEaXyEtyHUiRcqaD9tfPiwZwZoEzWfmq+wdMLc8wP5rHdrtmTOu8i7Vu5+
X3GUVg+9aOPPoUVB/COG1554F4l2Bbq9aYA9/Uw1tFZGWC9WjCRa3z/HMQQHm4vU a2RPJ/vwbiLlu4olKW/AsuDjCZr/5zrHFF0ypu8iik4svl/vanYAgzsWNHsurebU
aAEJAhAgzTiHxfIdJmKQxVlkdME8Orw11Xo3hdbee9j9qx75+TkPifuNSkUIxKon aAEJAhDL/Wju015ltfk8xdmpdV0jBcuJCdgwgmqFFEZJYJ3A898OJdJJKACoG+nR
ufOAcIGDynnUpqD/xStmwCqS3uqpVEy6PGIfXTls34+nLPDWJ4wQ71P3v3kSHLYY C16xIvshSO2a6Z3hpz2NHb8Id4TLaRxn8ELVlvSCGAENtTqhM3yP/KVmz7s4CWrH
Q7jW3gYe3ohw 6UUjIEuCzTXq
=xHcO =kE3a
-----END PGP MESSAGE----- -----END PGP MESSAGE-----
fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D
encrypted_regex: ^(data|stringData)$ encrypted_regex: ^(data|stringData)$