theshire/kubernetes/apps/default/sabnzbd/app/externalsecret.yaml
2024-01-27 11:57:42 -06:00

20 lines
492 B
YAML

---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: sabnzbd
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: sabnzbd-secret
template:
engineVersion: v2
data:
SABNZBD__API_KEY: "{{ .api_key }}"
SABNZBD__NZB_KEY: "{{ .nzb_key }}"
dataFrom:
- extract:
key: sabnzbd