Skip to content
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

Fix coredns #2369

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Fix coredns #2369

merged 1 commit into from
Jan 2, 2025

Conversation

rmweir
Copy link
Contributor

@rmweir rmweir commented Jan 2, 2025

Prior, if the coredns deployment was using the old label, "kube-dns",
it would not be updated during the coredns manifests apply. This was
because label selectors are immutable. Now, if the label is outdated
on the deployment, the deployment is deleted prior to the coredns
manifests apply.

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
Part of ENG-5232

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster dns would stop working on upgrade.

What else do we need to know?

Copy link

netlify bot commented Jan 2, 2025

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit ec04306
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/6776dba90d5b8a00088260a3

Copy link

netlify bot commented Jan 2, 2025

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit c363138
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/6776e26901658c00083e3861

@rmweir rmweir force-pushed the fix-coredns branch 2 times, most recently from f559fae to 66cc5b5 Compare January 2, 2025 18:45
FabianKramm
FabianKramm previously approved these changes Jan 2, 2025
Prior, if the coredns deployment was using the old label, "kube-dns",
it would not be updated during the coredns manifests apply. This was
because label selectors are immutable. Now, if the label is outdated
on the deployment, the deployment is deleted prior to the coredns
manifests apply.
@rmweir rmweir marked this pull request as ready for review January 2, 2025 19:01
@rmweir rmweir requested a review from FabianKramm January 2, 2025 19:02
@FabianKramm FabianKramm merged commit 595cf00 into loft-sh:main Jan 2, 2025
61 checks passed
loft-bot pushed a commit that referenced this pull request Jan 2, 2025
Prior, if the coredns deployment was using the old label, "kube-dns",
it would not be updated during the coredns manifests apply. This was
because label selectors are immutable. Now, if the label is outdated
on the deployment, the deployment is deleted prior to the coredns
manifests apply.

(cherry picked from commit 595cf00)
@loft-bot
Copy link

loft-bot commented Jan 2, 2025

💚 All backports created successfully

Status Branch Result
v0.22

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

FabianKramm pushed a commit that referenced this pull request Jan 2, 2025
Prior, if the coredns deployment was using the old label, "kube-dns",
it would not be updated during the coredns manifests apply. This was
because label selectors are immutable. Now, if the label is outdated
on the deployment, the deployment is deleted prior to the coredns
manifests apply.

(cherry picked from commit 595cf00)

Co-authored-by: Ricardo Weir <ricardo.weir@loft.sh>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants