---
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: external-dns-unifi
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: external-dns-unifi-secret
template:
engineVersion: v2
data:
EXTERNAL_DNS_UNIFI_USER: "{{ .EXTERNAL_DNS_USERNAME }}"
EXTERNAL_DNS_UNIFI_PASS: "{{ .EXTERNAL_DNS_PASSWORD }}"
dataFrom:
- extract:
key: external-dns-unifi