e9870b8d25
* add support for using ansible 2.10.x for deploying kubespray * move dns-autoscaler-clusterrole{binding}.yml to files/ folder * note that ansible 2.10 is now experimentally supported * coredns: move files to templates like before #4341
25 lines
431 B
Django/Jinja
25 lines
431 B
Django/Jinja
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
labels:
|
|
kubernetes.io/bootstrapping: rbac-defaults
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
name: system:coredns
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- endpoints
|
|
- services
|
|
- pods
|
|
- namespaces
|
|
verbs:
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- nodes
|
|
verbs:
|
|
- get
|