# Scoped operator access for minio-admins: the tenant StatefulSet + root # creds only - NOT the minio-operator Deployment (shared cluster-wide infra; # editing it risks breaking MinIO for every tenant, not just this one). # minio-oidc/sts-tls stay excluded (security-managed, not app config). Inert # until kube-apiserver's OIDC wiring lands. apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: minio-operator-admin namespace: storage rules: - apiGroups: ["apps"] resources: ["statefulsets"] resourceNames: ["minio-cluster-az-a"] verbs: ["get", "list", "watch", "update", "patch"] - apiGroups: [""] resources: ["secrets"] resourceNames: ["minio-creds"] verbs: ["get", "list", "watch", "update", "patch"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: minio-admins-binding namespace: storage subjects: - kind: Group name: "oidc:minio-admins" apiGroup: rbac.authorization.k8s.io roleRef: kind: Role name: minio-operator-admin apiGroup: rbac.authorization.k8s.io