kubespray/roles/kubernetes-apps/ansible/templates/coredns-clusterrole.yml.j2

19 lines
277 B
Django/Jinja

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
labels:
kubernetes.io/bootstrapping: rbac-defaults
name: system:coredns
rules:
- apiGroups:
- ""
resources:
- endpoints
- services
- pods
- namespaces
verbs:
- list
- watch