25 lines
387 B
YAML
25 lines
387 B
YAML
|
# permissions for end users to edit masters.
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
name: master-editor-role
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- objectstore.seaweedfs.com
|
||
|
resources:
|
||
|
- masters
|
||
|
verbs:
|
||
|
- create
|
||
|
- delete
|
||
|
- get
|
||
|
- list
|
||
|
- patch
|
||
|
- update
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- objectstore.seaweedfs.com
|
||
|
resources:
|
||
|
- masters/status
|
||
|
verbs:
|
||
|
- get
|