kubernetes-sigs / kubespray

Deploy a Production Ready Kubernetes Cluster
Apache License 2.0
16.2k stars 6.49k forks source link

Fix coredns version constraint #11691

Closed 0ekk closed 2 weeks ago

0ekk commented 2 weeks ago

What type of PR is this? /kind bug

What this PR does / why we need it: Upgrading K8s to 1.30.4 and below, it would be failed at validation stage of coredns.

[WARNING CoreDNSUnsupportedPlugins]: start version '1.11.3' not supported\n\t[WARNING CoreDNSMigration]: CoreDNS will not be upgraded: start version '1.11.3' not supported

The coredns 1.11.3 in K8s release-1.30 exactly start from tag v1.30.5 instead. (https://github.com/kubernetes/kubernetes/commit/772e3df468681f8327f00425829a60311d8b14e9)

This fixes the PR https://github.com/kubernetes-sigs/kubespray/pull/11653

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE
0ekk commented 2 weeks ago

/cc @tico88612

0ekk commented 2 weeks ago

/ok-to-test

yankay commented 2 weeks ago

Thanks @tu1h /approve

k8s-ci-robot commented 2 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tico88612, tu1h, yankay

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/kubespray/blob/master/OWNERS)~~ [yankay] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment