mirror of https://github.com/easzlab/kubeasz.git
update coredns 1.2.6
parent
0a57c136a7
commit
30e123cb88
|
@ -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
|
||||
|
|
|
@ -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 -%} \
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue