From d1417d54ce06796fe927b96367e5bae786df8dff Mon Sep 17 00:00:00 2001 From: ChengHao Yang <17496418+tico88612@users.noreply.github.com> Date: Tue, 22 Oct 2024 05:50:52 +0800 Subject: [PATCH] Feat: CoreDNS upgrade to v1.11.3 (#11653) * Feat: bump CoreDNS version to v1.11.3 Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> * Docs: update README.md CoreDNS version to v1.11.3 Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --------- Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --- README.md | 2 +- roles/kubespray-defaults/defaults/main/download.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c9dd57aa9..841b52b4a 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ Note: Upstart/SysV init based OS types are not supported. - [kube-vip](https://github.com/kube-vip/kube-vip) v0.8.0 - Application - [cert-manager](https://github.com/jetstack/cert-manager) v1.14.7 - - [coredns](https://github.com/coredns/coredns) v1.11.1 + - [coredns](https://github.com/coredns/coredns) v1.11.3 - [ingress-nginx](https://github.com/kubernetes/ingress-nginx) v1.11.2 - [krew](https://github.com/kubernetes-sigs/krew) v0.4.4 - [argocd](https://argoproj.github.io/) v2.11.0 diff --git a/roles/kubespray-defaults/defaults/main/download.yml b/roles/kubespray-defaults/defaults/main/download.yml index 3d326a3e2..073b014c6 100644 --- a/roles/kubespray-defaults/defaults/main/download.yml +++ b/roles/kubespray-defaults/defaults/main/download.yml @@ -295,7 +295,7 @@ haproxy_image_tag: 2.8.2-alpine # Coredns version should be supported by corefile-migration (or at least work with) # bundle with kubeadm; if not 'basic' upgrade can sometimes fail -coredns_version: "{{ 'v1.11.1' if (kube_version is version('v1.29.0', '>=')) else 'v1.10.1' }}" +coredns_version: "{{ 'v1.11.3' if (kube_version is version('v1.30.0', '>=')) else 'v1.11.1' }}" coredns_image_is_namespaced: "{{ (coredns_version is version('v1.7.1', '>=')) }}" coredns_image_repo: "{{ kube_image_repo }}{{ '/coredns/coredns' if (coredns_image_is_namespaced | bool) else '/coredns' }}"