theshire/kubernetes/apps/default/sonarr/app/externalsecret.yaml

29 lines
872 B
YAML
Raw Permalink Normal View History

2024-09-05 03:21:54 -05:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: sonarr
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: sonarr-secret
template:
engineVersion: v2
data:
PUSHOVER_TOKEN: "{{ .sonarr_token }}"
PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
SONARR__AUTH__APIKEY: "{{ .api_key }}"
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: sonarr_main
dataFrom:
- extract:
key: pushover
- extract:
key: sonarr