apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: directus-bucket-garage
  namespace: directus
  labels:
    app.kubernetes.io/name: directus-bucket-garage
    app.kubernetes.io/instance: directus
    app.kubernetes.io/part-of: directus
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: openbao
  data:
    - secretKey: ACCESS_KEY_ID
      remoteRef:
        key: /garage/home-infra/directus-assets
        property: ACCESS_KEY_ID
    - secretKey: ACCESS_SECRET_KEY
      remoteRef:
        key: /garage/home-infra/directus-assets
        property: ACCESS_SECRET_KEY
    - secretKey: ACCESS_REGION
      remoteRef:
        key: /garage/home-infra/directus-assets
        property: ACCESS_REGION
