theshire/kubernetes/apps/anime/radarr/app/externalsecret.yaml

47 lines
1.3 KiB
YAML
Raw Normal View History

2024-10-22 20:57:38 -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: radarr
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: radarr-secret
template:
engineVersion: v2
data:
PUSHOVER_TOKEN: "{{ .radarr_token }}"
PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
RADARR__AUTH__APIKEY: "{{ .api_key_anime }}"
2024-10-22 21:29:03 -05:00
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:
2024-10-22 21:31:25 -05:00
name: radarr-db
2024-10-22 21:29:03 -05:00
spec:
secretStoreRef:
name: crunchy-pgo-secrets
kind: ClusterSecretStore
target:
name: radarr-db-secret
template:
engineVersion: v2
data:
2024-10-22 21:44:34 -05:00
RADARR__POSTGRES__HOST: "{{ index . \"pgbouncer-host\" }}"
2024-10-22 20:57:38 -05:00
RADARR__POSTGRES__USER: "{{ .user }}"
RADARR__POSTGRES__PASSWORD: "{{ .password }}"
RADARR__POSTGRES__PORT: "{{ .port }}"
RADARR__POSTGRES__MAINDB: radarr_main
dataFrom:
- extract:
key: postgres-pguser-radarr-anime