21 lines
344 B
YAML
21 lines
344 B
YAML
|
# permissions for end users to view masters.
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
name: master-viewer-role
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- objectstore.seaweedfs.com
|
||
|
resources:
|
||
|
- masters
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- objectstore.seaweedfs.com
|
||
|
resources:
|
||
|
- masters/status
|
||
|
verbs:
|
||
|
- get
|