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

27 lines
781 B
YAML
Raw Permalink Normal View History

2024-01-27 21:20:46 -06:00
---
2024-02-04 11:07:51 -06:00
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
2024-01-27 21:20:46 -06:00
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:
SONARR__API_KEY: "{{ .api_key }}"
PUSHOVER_TOKEN: "{{ .sonarr_token }}"
PUSHOVER_USER_KEY: "{{ .userkey_jahanson }}"
SONARR__POSTGRES_HOST: "postgres-primary-real.database.svc"
2024-04-10 12:04:01 -05:00
SONARR__POSTGRES_USER: "{{ .SONARR__POSTGRES_USER }}"
SONARR__POSTGRES_PASSWORD: "{{ .SONARR__POSTGRES_PASSWORD }}"
2024-01-27 21:20:46 -06:00
dataFrom:
- extract:
key: pushover
- extract:
key: sonarr