New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Kubeadm]: Fix CoreDNS migration logic #97016
Conversation
return err | ||
} | ||
} else if corefileMigrationRequired { | ||
//If migration is required, try and migrate the Corefile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: missing space after //
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @rajansandeep added one minor nit.
should this be backported and to which releases?
/approve
/priority important-soon |
we should add a release note here, e.g.:
(please, adjust as see fit) |
aa5661d
to
ee51c6d
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrisohaver, neolit123, rajansandeep 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:
Approvers can indicate their approval by writing |
/hold cancel |
I can send the cherry-pick. Do we have to wait for this PR to merge or I can send the cherry-pick now itself. |
ok, should be possible to send before merge too. |
/retest |
/retest Review the full test history for this PR. Silence the bot with an |
I read the migration corefile suggestion. The only thing that kubeadm doesn't check here after this pr, is “unsupported plugins”. 👍 |
/lgtm |
/retest |
still timeout |
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
/retest Review the full test history for this PR. Silence the bot with an |
IIRC, the original concept was to check for unsupported at preflight, so no need to check at this part. Don’t know if that has changed. Perhaps it’s worth adding a code comment here. |
/retest Review the full test history for this PR. Silence the bot with an |
/retest |
1 similar comment
/retest |
the failing tests in |
/retest Review the full test history for this PR. Silence the bot with an |
…#97016-upstream-release-1.19 Automated cherry pick of #97016: fix migration logic
Hey there, just wanted to mention that this was after test freeze and the branch cut. If you’d like this in 1.20, it needs to be cherry picked and the release is tomorrow so this probably won’t make it until 1.20.1. |
oh well, |
i've sent the cherry pick here: |
…016-origin-release-1.20 [1.20.1] Automated cherry pick of #97016: fix migration logic
What type of PR is this?
/kind bug
What this PR does / why we need it:
As stated in #96833 (comment), this PR fixes the logic around migrating the CoreDNS Corefile. I've added extensive tests to ensure all scenarios are covered.
Which issue(s) this PR fixes:
Fixes #96833
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: