Compare commits

..

4 commits

3 changed files with 24 additions and 6 deletions

View file

@ -16,6 +16,26 @@ spec:
PUSHOVER_TOKEN: "{{ .radarr_token }}"
PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
RADARR__AUTH__APIKEY: "{{ .api_key_anime }}"
dataFrom:
- extract:
key: pushover
- extract:
key: radarr
---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: radarr-db
spec:
secretStoreRef:
name: crunchy-pgo-secrets
kind: ClusterSecretStore
target:
name: radarr-db-secret
template:
engineVersion: v2
data:
RADARR__POSTGRES__HOST: "{{ .pgbouncer-host }}"
RADARR__POSTGRES__USER: "{{ .user }}"
RADARR__POSTGRES__PASSWORD: "{{ .password }}"
@ -24,7 +44,3 @@ spec:
dataFrom:
- extract:
key: postgres-pguser-radarr-anime
- extract:
key: pushover
- extract:
key: radarr

View file

@ -45,6 +45,8 @@ spec:
envFrom:
- secretRef:
name: radarr-secret
- secretRef:
name: radarr-db-secret
probes:
liveness: &probes
enabled: true
@ -68,7 +70,7 @@ spec:
requests:
cpu: 10m
limits:
memory: 16Gi
memory: 6Gi
pod:
securityContext:
runAsUser: 568

View file

@ -68,7 +68,7 @@ spec:
requests:
cpu: 10m
limits:
memory: 16Gi
memory: 6Gi
pod:
securityContext:
runAsUser: 568