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

21 lines
492 B
YAML
Raw Permalink Normal View History

2024-01-27 11:57:42 -06:00
---
# 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