update coredns 1.2.6

pull/420/head
gjmzj 2018-12-11 17:27:34 +08:00
parent 0a57c136a7
commit 30e123cb88
3 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,6 @@
###---[basic_images ]
# dns-addon
coredns/coredns:1.2.2
coredns/coredns:1.2.6
mirrorgooglecontainers/k8s-dns-kube-dns-amd64:1.14.13
mirrorgooglecontainers/k8s-dns-dnsmasq-nanny-amd64:1.14.13
mirrorgooglecontainers/k8s-dns-sidecar-amd64:1.14.13

View File

@ -2,7 +2,7 @@
dns_install: "yes"
dns_backend: "coredns"
kubedns_offline: "kubedns_1.14.13.tar"
coredns_offline: "coredns_1.2.2.tar"
coredns_offline: "coredns_1.2.6.tar"
dns_offline: "{%- if dns_backend == 'coredns' -%} \
{{ coredns_offline }} \
{%- else -%} \

View File

@ -27,6 +27,12 @@ rules:
verbs:
- list
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
@ -99,13 +105,11 @@ spec:
spec:
serviceAccountName: coredns
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
- key: "CriticalAddonsOnly"
operator: "Exists"
containers:
- name: coredns
image: coredns/coredns:1.2.2
image: coredns/coredns:1.2.6
imagePullPolicy: IfNotPresent
resources:
limits: