chore(radarr): change identifiers in helm chart, add init-db init container

This commit is contained in:
SeanOMik 2024-10-15 18:37:05 -04:00
parent 7b71a5bd08
commit d62c1991ac
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
2 changed files with 93 additions and 79 deletions

View File

@ -17,23 +17,22 @@ spec:
values: values:
controllers: controllers:
main: radarr:
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: radarr-secret
containers: containers:
radarr: app:
image: image:
repository: ghcr.io/onedr0p/radarr-develop repository: ghcr.io/onedr0p/radarr-develop
tag: 5.12.0.9255 tag: 5.12.0.9255
envFrom: envFrom: *envFrom
- secretRef:
name: radarr-secret
env: env:
TZ: America/New_York TZ: America/New_York
RADARR__APP__INSTANCENAME: Radarr RADARR__APP__INSTANCENAME: Radarr
@ -44,9 +43,6 @@ spec:
RADARR__LOG__LEVEL: info RADARR__LOG__LEVEL: info
RADARR__SERVER__PORT: &port 7878 RADARR__SERVER__PORT: &port 7878
RADARR__UPDATE__BRANCH: develop RADARR__UPDATE__BRANCH: develop
RADARR__POSTGRES__HOST: postgresql.database.svc
RADARR__POSTGRES__PORT: "5432"
RADARR__POSTGRES__MAINDB: radarr_main
probes: probes:
liveness: &probes liveness: &probes
enabled: true enabled: true
@ -79,17 +75,37 @@ spec:
env: env:
- name: URL - name: URL
value: "http://localhost" value: "http://localhost"
- name: CONFIG
value: "/config/config.xml"
- name: PORT - name: PORT
value: 9000 value: &metricsPort 9000
- name: ENABLE_ADDITIONAL_METRICS - name: ENABLE_ADDITIONAL_METRICS
value: "true" value: "true"
- name: ENABLE_UNKNOWN_QUEUE_ITEMS - name: ENABLE_UNKNOWN_QUEUE_ITEMS
value: "true" value: "true"
- name: API_KEY
secretKeyRef:
name: radarr-secret
key: RADARR__AUTH__APIKEY
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 10000
runAsGroup: 10000
fsGroup: 10000
fsGroupChangePolicy: OnRootMismatch
service:
app:
controller: radarr
ports:
http:
port: *port
metrics:
port: *metricsPort
protocol: HTTP
ingress: ingress:
main: app:
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-production cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
@ -100,20 +116,9 @@ spec:
paths: paths:
- path: / - path: /
service: service:
identifier: main identifier: app
port: http port: http
service:
main:
controller: main
ports:
http:
port: *port
metrics:
port: 9000
protocol: HTTP
persistence: persistence:
config: config:
#type: hostPath #type: hostPath

View File

@ -4,69 +4,78 @@ metadata:
name: radarr-secret name: radarr-secret
namespace: download namespace: download
stringData: stringData:
RADARR__AUTH__APIKEY: ENC[AES256_GCM,data:n6NygOta67GMqWV6+Q3EjU3JyhY84xNf546FfpOMi4k=,iv:IRGuOPzo0azEmznl0tKe+v9QhwogjjUsMUR9oGqncdU=,tag:O2WEgQxh6E3g7mRJ41Vbwg==,type:str] RADARR__AUTH__APIKEY: ENC[AES256_GCM,data:da21Mpdzskzly0EQVuF/4f21a3jQwjU6MLQYAEAXBo4=,iv:KXHPkPqg/Kz2KPaMtJxoiTyPmzFGgsEKdn9fBNZejlY=,tag:9/SwZfS45QDA9FGAQOfF1Q==,type:str]
RADARR__POSTGRES__USER: ENC[AES256_GCM,data:nAaR02DM,iv:xh8ahgckhgFZDu7snxQFM19x8qC5s7smn1hSjY+zxLw=,tag:0ziWTKZq5tjMrdhoFQY6jw==,type:str] RADARR__POSTGRES__HOST: ENC[AES256_GCM,data:Cgj9nQs+n7rDQ6aaFm0DAQPMz7l3wag=,iv:BYVmLJZzGPVQ0eVyOhf5BM1PWqhukvhgOPMHTrZpSCo=,tag:mm2UFryQXqMzJeAhVq4KMA==,type:str]
RADARR__POSTGRES__PASSWORD: ENC[AES256_GCM,data:6fXWGDYTjoSkJ7jccI3/5hCC6jsKPwh/CgM7hBlUu9g=,iv:vOX435yfn0V4ZPR6OOQgsnQlQZI+TPTjsuiAvgcpAMA=,tag:z5Ctt5dd/rq9alCiUDLcTA==,type:str] RADARR__POSTGRES__PORT: ENC[AES256_GCM,data:SvLVaw==,iv:6/SZzOp+oM8U+m1P9bFRJSqzSZMNuhE8cSFrtNSl3qk=,tag:36M/4Th+aAlEUuiX3Ot2Ew==,type:str]
RADARR__POSTGRES__MAINDB: ENC[AES256_GCM,data:qCTI7unY1de3mf8=,iv:Vb9fe/aGUFGbUjIomjnOFkPHiY9bMt1aSrDYCp0FnrE=,tag:UX2I+3O1YgivZxtFZ47sFA==,type:str]
RADARR__POSTGRES__USER: ENC[AES256_GCM,data:imCnEg3J,iv:ehq/1hG7wKjUAqHHhTDEQGTM3DsqK5CDUa1ZvwY49D0=,tag:PDZiV9O8kbSK4xFMOWkRZg==,type:str]
RADARR__POSTGRES__PASSWORD: ENC[AES256_GCM,data:tIrRv5kgomfXIuliEQqe41D1JlbmA3A2I51Y0Mh1hic=,iv:ggPAAt7oRcGnl1HQgmJGl4YV5LmgtZaDTB77Arjk1kA=,tag:2xEKFoDW5jk7IAcnmBubcQ==,type:str]
INIT_POSTGRES_DBNAME: ENC[AES256_GCM,data:BVH44RPEsXwaAQA=,iv:jKt9U5ClXDYp8nUF2ckHuq6tW9QvGp+vtKaAGknwW0U=,tag:wHc31hgysvIEIs8m3jugfA==,type:str]
INIT_POSTGRES_HOST: ENC[AES256_GCM,data:SzsEdOzpOSxrtZoX/q0qjRVPRDPAlAk=,iv:ISC6u9amrLpbsIj86GwZ3QA9SkbXUlLW334z10ut/e4=,tag:2x8IpVXn4sGcTDJGBvSs+A==,type:str]
INIT_POSTGRES_PORT: ENC[AES256_GCM,data:fJrlPA==,iv:vzGNqLQoW0+ObpxBUCOkLjZiUl1HM7pkW3KQFZbQ0u8=,tag:T8fMkxriSi/ZB/yL/8vmSQ==,type:str]
INIT_POSTGRES_USER: ENC[AES256_GCM,data:V0II9Z0Y,iv:NRCNuNd7zp99mvwQre34gFYDVT2JT0P+xjerle4qr3g=,tag:iozz/sCdORi9cVDEB4Yi0g==,type:str]
INIT_POSTGRES_PASS: ENC[AES256_GCM,data:vRuZA9dGH4PNVbNLgm3kzjF4fMLtxusDqg1BeG3B2yE=,iv:N8DluQLDorfctbbYbTWfSjyhFyKkHIf9UMyb32uQy2Y=,tag:ECZxkGhhOly8iuddITcEMA==,type:str]
INIT_POSTGRES_SUPER_PASS: ENC[AES256_GCM,data:LVeQ+IvDH81TbC/Dm2Xj+2dIWrJW3YUv2RLxA7pAW3A=,iv:XxkWlKNrHSO4wiS30ZzVwMl/DTQ7cRTu77/gFxNe17g=,tag:ibSoA0xWIuubCIwuOKKCTw==,type:str]
sops: sops:
kms: [] kms: []
gcp_kms: [] gcp_kms: []
azure_kv: [] azure_kv: []
hc_vault: [] hc_vault: []
age: [] age: []
lastmodified: "2024-10-15T01:16:00Z" lastmodified: "2024-10-15T22:35:28Z"
mac: ENC[AES256_GCM,data:t19Lz6df6hohcynjqib03Qj+uqpIC4eLSAJTLTqFEXBtRInsADbEsypvnyUU0Q4A2z6dUKZpP/SEncxAP/8WimaQvpfVPFsWeVUWHvK8ISz5bBxjscgwMI1/TRfA5/BfCMLmfyNDlOYAzshAzJ97aeXLDJKZvrnbMWNgvvMw6W4=,iv:DWRaA3APzKv9cOC0afeBfw2fzhLPraKKvMSNZa8yVQs=,tag:zrOAk8ZZP+8ThVc66RDJlQ==,type:str] mac: ENC[AES256_GCM,data:dK0FGO7fAsBFwqbC+IZfFvuVmYNS+W3FgSC8j/NskoYLK1iZJ+va1MjfIMIBH490LFhE6OFRXXfDdTjwjw6NUAF6OcWB+BHp32sw8CxY6oWQc1d4abSQYbAdSQ7JDL4JoayA4NUj4MUhLfW7Iq/Wew44SJi4+yiyg78XumtBGaE=,iv:LDOiT27sHWvVjgWl9L7HN9Zh9fARS5+KQGYLj9KWizI=,tag:9NJ/otTND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= jZvKhVLBt4k=
=Vl2t =DnkV
-----END PGP MESSAGE----- -----END PGP MESSAGE-----
fp: BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD fp: BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD
- created_at: "2024-10-15T01:16:00Z" - created_at: "2024-10-15T22:35:28Z"
enc: |- enc: |-
-----BEGIN PGP MESSAGE----- -----BEGIN PGP MESSAGE-----
hQIMAwAAAAAAAAAAAQ/+IoF55lQey7yi64PUfhMWc3Be+1EBNGzhHR5RfZMAI3w4 hQIMAwAAAAAAAAAAARAAiUiUJ5ubG0YqSoCBuU8Et8Dux2Pc+hXhCDV5prN4VKAz
rqQdZyGp3SY1tB3q1qHk2TCySL70FZLcT0mdPHHU8bt8kn9M3HWEAHo0TJuoH7K3 3DqGFHZscPoaIrtd06JaaMlO06oro8rfzwF6fgUR5sEw2bPkcTXQM+oodVrJ0yZ9
qlwWnPh0OQuF+AUkmsAzCUDcBpW9CNHifPJjHWgSlhsH+r4DrYdIzGi2vaTDhXU8 B6aNcsEL/jKpvycAImHtXOk2S7I8s4pQ3KArHmBg4Rvlg89CFdTpWLKQbm7JT5//
GMHlEuZ2wrgra78avw9G/v+7I/cnnkzMnFc3zR6F+FbSv9S/w4Z4YCEv4AhLRUox CCXAP6jfg411t+G11RbLkrBvNPCSArLmXjWGSEhwn7OrhlnparqULfxk+ngaN8Sk
T03kG8r/Gv5UTFZ08TnRGXNzICykBfIHXg5xsXB+ePgh/djD3fLDlByEc8BhE2T/ yyadvSN2CCi3J6bLxgY7TFNIh9Ikrres/KHBfXRrTryqFLdgSRBQFJyL+MXInhWz
8MbkgNbj7i3V0E3+I53NJocCGkH/SwBOwKlvbstop5eQTN+nuBQC5nYnupO7n1cf x+Suc90+szNR5kbeIOrQzoIRNYd+UERm68MhP+G6ul6b6O1gaRfTnX4utFsu9blM
wY6gIqODXZjQRItNuygE7yNDkVsF3pcb0/uRNFxc2rkUJQMT2OqusThuvVU1HLho eu3PyrNhjq6J4mYwRUVVcCV0WmUsuw26TUw+K1ojLWSz0vjyFs+lFFrQLQLaUVH7
LHYPzx8bvWoPHwY1oFvB+VXU9K5J00jzkAjONRTMqIMYceoqncInoiArjDi+Bby3 RFhHRS2BnHS7vYkwjaaixQOGxu6noyIoFaOKlez300NybJyEgbCIJW46iRvb5mDK
HGjTblEik+2cuKc9JF6cuwfrSKhrNgoqm7nhNS0beF4Uf+0xvpo1urfAAYycIjWy /Gp5+ysJxUA5cyYrY5EnUW1xsU0NlCtkUdJavqkw/nhb1dSkNCUgfjpoRQWLr8na
SC/wPAzwsvU92l7LilfVn8seX+1jVIZnzkxxk2z0USuoRR5Fiiuf3O1zBMOKOU6E K759JWROPwXkImvSxYbkpG5bO2lMyblWUMBiAAelvaCgjESZcI19ytGq8p1MqyuW
/ExchxWvA/9USgvPjtc8JCrZUxIRrI03hIwILzLXOriA2T68ejp8613DnuZuJHLU 8I/ZIxf5IUxlnGkGi1Ficc37UZOdktG2HuUb71dEfo6PFbdC7HSKHMfMBDRdtmfU
aAEJAhBLSQzeER6pJ3hCGsB6kMcivumgRoWt9qonf0KqPTb4gRO8KFL2pbV04x58 aAEJAhC7kAFkb+T/ov90bpcSQh88UPdEKoo94HPZ8t/kwrt3pGKfgkl2Dvf/CIKz
v4FJ3nqUelKEdM9C5oXdHBdiG48gm+EOxzSzey0xRJqsVHi7S7tCj39HR3h47r/k sz9TJpR38q4hl8R+yRFddGiuY52Yz7vRtjDlcHHaw0NXhE/uZ2aTLGzojyx8UlYS
hhBax1k3ZD0e BzfT29tYrm4T
=doxn =VB3Z
-----END PGP MESSAGE----- -----END PGP MESSAGE-----
fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D
encrypted_regex: ^(data|stringData)$ encrypted_regex: ^(data|stringData)$