From c872ff108e0e23d214a81882103a128a400028dc Mon Sep 17 00:00:00 2001 From: Victor Login Date: Wed, 13 Dec 2023 22:55:58 +0100 Subject: [PATCH 1/2] update version coredns 1.11.1 --- 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 2565680a713..d24f0365d87 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.5.12 - Application - [cert-manager](https://github.com/jetstack/cert-manager) v1.13.2 - - [coredns](https://github.com/coredns/coredns) v1.10.1 + - [coredns](https://github.com/coredns/coredns) v1.11.1 - [ingress-nginx](https://github.com/kubernetes/ingress-nginx) v1.9.4 - [krew](https://github.com/kubernetes-sigs/krew) v0.4.4 - [argocd](https://argoproj.github.io/) v2.8.4 diff --git a/roles/kubespray-defaults/defaults/main/download.yml b/roles/kubespray-defaults/defaults/main/download.yml index cc8d676f75c..e91848a00fb 100644 --- a/roles/kubespray-defaults/defaults/main/download.yml +++ b/roles/kubespray-defaults/defaults/main/download.yml @@ -287,7 +287,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.10.1' if (kube_version is version('v1.27.0', '>=')) else 'v1.9.3' }}" +coredns_version: "{{ 'v1.11.1' if (kube_version is version('v1.27.0', '>=')) else 'v1.9.3' }}" 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' }}" From f9c74c077c2c8849022af3fe3297113c5cb8acea Mon Sep 17 00:00:00 2001 From: Victor Login Date: Tue, 23 Jan 2024 13:29:29 +0100 Subject: [PATCH 2/2] Update roles/kubespray-defaults/defaults/main/download.yml Co-authored-by: Mohamed Omar Zaian --- roles/kubespray-defaults/defaults/main/download.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubespray-defaults/defaults/main/download.yml b/roles/kubespray-defaults/defaults/main/download.yml index e91848a00fb..1032d18e028 100644 --- a/roles/kubespray-defaults/defaults/main/download.yml +++ b/roles/kubespray-defaults/defaults/main/download.yml @@ -287,7 +287,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.27.0', '>=')) else 'v1.9.3' }}" +coredns_version: "{{ 'v1.11.1' if (kube_version is version('v1.29.0', '>=')) else 'v1.10.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' }}"