--- # 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: "{{ .username }}" EXTERNAL_DNS_UNIFI_PASS: "{{ .password }}" dataFrom: - extract: key: external-dns-unifi