theshire/kubernetes/apps/default/redlib/app/externalsecret.yaml
2024-09-05 04:44:16 -05:00

19 lines
479 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: redlib
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: redlib-secret
template:
engineVersion: v2
data:
REDLIB_DEFAULT_SUBSCRIPTIONS: "{{ .REDLIB_DEFAULT_SUBSCRIPTIONS }}"
dataFrom:
- extract:
key: redlib