seaweedfs-operator/config/rbac/seaweed_viewer_role.yaml
2020-08-01 23:27:46 -07:00

21 lines
340 B
YAML

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