c12s-kubespray/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterrole.yml.j2

13 lines
311 B
Text
Raw Permalink Normal View History

2017-07-17 11:28:09 +00:00
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: netchecker-server
namespace: {{ netcheck_namespace }}
rules:
- apiGroups: [""]
resources: ["pods"]
verbs: ["list"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ['*']