theshire/kubernetes/apps/default/radarr/app/externalsecret.yaml
2024-01-27 20:30:12 -06:00

25 lines
689 B
YAML

---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: radarr
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: radarr-secret
template:
engineVersion: v2
data:
RADARR__API_KEY: "{{ .api_key }}"
RADARR__POSTGRES_MAIN_DB: radarr_main
RADARR__POSTGRES_LOG_DB: radarr_log
PUSHOVER_TOKEN: "{{ .radarr_token }}"
PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
dataFrom:
- extract:
key: pushover
- extract:
key: radarr