From a754c0d4766caf4f820aa408746ed2dc9ecd5ef9 Mon Sep 17 00:00:00 2001 From: Florian Ruynat <16313165+floryut@users.noreply.github.com> Date: Wed, 26 May 2021 22:08:36 +0200 Subject: [PATCH] Kubernetes now use CoreDNS 1.8.0 --- README.md | 2 +- roles/download/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d1708f6e..9aea4217d 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ Note: Upstart/SysV init based OS types are not supported. - [cephfs-provisioner](https://github.com/kubernetes-incubator/external-storage) v2.1.0-k8s1.11 - [rbd-provisioner](https://github.com/kubernetes-incubator/external-storage) v2.1.1-k8s1.11 - [cert-manager](https://github.com/jetstack/cert-manager) v0.16.1 - - [coredns](https://github.com/coredns/coredns) v1.7.0 + - [coredns](https://github.com/coredns/coredns) v1.8.0 - [ingress-nginx](https://github.com/kubernetes/ingress-nginx) v0.43.0 ## Container Runtime Notes diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index fcf3e6241..4bde1079e 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -492,7 +492,7 @@ haproxy_image_tag: 2.3 # bundle with kubeadm; if not 'basic' upgrade can sometimes fail coredns_image_is_namespaced: "{{ (kube_major_version | regex_replace('^v', '') | float) >= 1.21 }}" -coredns_version: "v1.7.0" +coredns_version: "v1.8.0" coredns_image_repo: "{{ kube_image_repo }}{{'/coredns/coredns' if (coredns_image_is_namespaced | bool) else '/coredns' }}" coredns_image_tag: "{{ coredns_version if (coredns_image_is_namespaced | bool) else (coredns_version | regex_replace('^v', '')) }}"