2017-07-17 19:28:09 +08:00
|
|
|
kind: ClusterRole
|
2020-04-15 04:14:04 +08:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2017-07-17 19:28:09 +08:00
|
|
|
metadata:
|
|
|
|
name: netchecker-server
|
|
|
|
namespace: {{ netcheck_namespace }}
|
|
|
|
rules:
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["pods"]
|
|
|
|
verbs: ["list"]
|
2018-04-24 15:03:36 +08:00
|
|
|
- apiGroups: ["apiextensions.k8s.io"]
|
|
|
|
resources: ["customresourcedefinitions"]
|
|
|
|
verbs: ['*']
|
2019-05-09 16:30:49 +08:00
|
|
|
- apiGroups: ["network-checker.ext"]
|
|
|
|
resources: ["agents"]
|
|
|
|
verbs: ['*']
|