freeleaps-ops/cluster/manifests/rbac/mathmast-regular-cr-binding.yaml
zhenyus db0cd26f4b feat: update RBAC configurations for data platform and mathmast roles
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-05-12 10:56:58 +08:00

21 lines
559 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: mathmast-regular
rules:
- apiGroups: ["rbac.authorization.k8s.io"]
resources: ["clusterrolebindings", "clusterroles", "roles", "rolebindings"]
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: mathmast-regular-cr-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: mathmast-regular
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: Group
name: mathmast:basic-user