seaweedfs-operator/config/rbac/seaweed_viewer_role.yaml

21 lines
340 B
YAML
Raw Normal View History

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