apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: talos-etcd-defrag-secret
  namespace: talos
  labels:
    app.kubernetes.io/name: talos-etcd-defrag-secret
    app.kubernetes.io/instance: talos
    app.kubernetes.io/part-of: talos
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault
  data:
    - secretKey: config
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /cl01tl/talos/etcd-defrag
        metadataPolicy: None
        property: config
