2017-07-17 19:28:09 +08:00
|
|
|
kind: ClusterRole
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
|
|
|
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: ['*']
|