apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: karakeep-assets-rclone-source-config
  namespace: karakeep
  labels:
    helm.sh/chart: rclone-karakeep-assets-remote-0.11.5
    app.kubernetes.io/instance: karakeep
    app.kubernetes.io/part-of: karakeep
    app.kubernetes.io/version: "0.11.5"
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: karakeep-assets-rclone-source-config
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: openbao
  data:
    - secretKey: ACCESS_KEY_ID
      remoteRef:
        key: /garage/home-infra/karakeep-assets
        property: ACCESS_KEY_ID
    - secretKey: ACCESS_SECRET_KEY
      remoteRef:
        key: /garage/home-infra/karakeep-assets
        property: ACCESS_SECRET_KEY
    - secretKey: ACCESS_REGION
      remoteRef:
        key: /garage/home-infra/karakeep-assets
        property: ACCESS_REGION
    - secretKey: SRC_ENDPOINT
      remoteRef:
        key: /garage/config
        property: ENDPOINT_LOCAL
