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