apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
  name: immich-config
  namespace: immich
  labels:
    app.kubernetes.io/name: immich-config
    app.kubernetes.io/instance: immich
    app.kubernetes.io/part-of: immich
spec:
  provider: openbao
  parameters:
    baoAddress: "http://openbao-internal.openbao:8200"
    roleName: immich
    objects: |
      - objectName: immich.json
        fileName: immich.json
        secretPath: secret/data/cl01tl/immich/config
        secretKey: immich.json
