2020-08-02 06:27:46 +00:00
|
|
|
# permissions for end users to edit seaweeds.
|
2020-07-26 22:10:35 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
2020-08-02 06:27:46 +00:00
|
|
|
name: seaweed-editor-role
|
2020-07-26 22:10:35 +00:00
|
|
|
rules:
|
|
|
|
- apiGroups:
|
2020-08-02 06:27:46 +00:00
|
|
|
- seaweed.seaweedfs.com
|
2020-07-26 22:10:35 +00:00
|
|
|
resources:
|
2020-08-02 06:27:46 +00:00
|
|
|
- seaweeds
|
2020-07-26 22:10:35 +00:00
|
|
|
verbs:
|
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
2020-08-02 06:27:46 +00:00
|
|
|
- seaweed.seaweedfs.com
|
2020-07-26 22:10:35 +00:00
|
|
|
resources:
|
2020-08-02 06:27:46 +00:00
|
|
|
- seaweeds/status
|
2020-07-26 22:10:35 +00:00
|
|
|
verbs:
|
|
|
|
- get
|