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