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