Skip to content

Commit

Permalink
Downgrade version of coredns to 1.8.6 for compatibility with 1.23-1.24 (
Browse files Browse the repository at this point in the history
  • Loading branch information
JiffsMaverick authored and HoKim98 committed Mar 8, 2023
1 parent 5eb5a6f commit 79a944e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/download/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ haproxy_image_tag: 2.6.6-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.9.3"
coredns_version: "{{ 'v1.9.3' if (kube_version is version('v1.25.0','>=')) else 'v1.8.6' }}"
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' }}"
Expand Down

0 comments on commit 79a944e

Please sign in to comment.