seaweedfs-operator/config/rbac/seaweed_editor_role.yaml

25 lines
383 B
YAML
Raw Normal View History

2020-08-02 06:27:46 +00:00
# permissions for end users to edit seaweeds.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
2020-08-02 06:27:46 +00:00
name: seaweed-editor-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:
- create
- delete
- get
- list
- patch
- update
- 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