apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: booklore-mariadb-cluster-backup-secret-garage
  namespace: booklore
  labels:
    app.kubernetes.io/name: booklore-mariadb-cluster-backup-secret-garage
    app.kubernetes.io/instance: booklore
    app.kubernetes.io/part-of: booklore
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: vault
  data:
    - secretKey: access
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /garage/home-infra/mariadb-backups
        metadataPolicy: None
        property: access
    - secretKey: secret
      remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: /garage/home-infra/mariadb-backups
        metadataPolicy: None
        property: secret
