apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: openbao-csi-provider-role
  namespace: openbao
  labels:
    app.kubernetes.io/name: openbao-csi-provider
    app.kubernetes.io/instance: openbao
    app.kubernetes.io/managed-by: Helm
rules:
  - apiGroups: [""]
    resources: ["secrets"]
    verbs: ["get"]
    resourceNames:
      - openbao-csi-provider-hmac-key
  - apiGroups: [""]
    resources: ["secrets"]
    verbs: ["create"]
