seaweedfs-operator/config/rbac/master_viewer_role.yaml

21 lines
344 B
YAML
Raw Normal View History

# permissions for end users to view masters.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: master-viewer-role
rules:
- apiGroups:
- objectstore.seaweedfs.com
resources:
- masters
verbs:
- get
- list
- watch
- apiGroups:
- objectstore.seaweedfs.com
resources:
- masters/status
verbs:
- get