kubespray/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterro...

16 lines
388 B
Plaintext
Raw Normal View History

2017-07-17 19:28:09 +08:00
kind: ClusterRole
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"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ['*']
- apiGroups: ["network-checker.ext"]
resources: ["agents"]
verbs: ['*']