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

[Backport release-1.31] Correctly detect DNS address computation errors #5270

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

k0s-bot
Copy link

@k0s-bot k0s-bot commented Nov 18, 2024

Automated backport to release-1.31, triggered by a label in #5236.
See .

The existing code is unable to compute meaningful DNS addresses if
the service CIDR doesn't describe a v4 network. Error out whenever the
network IP is not a v4 address until it is clear how to properly compute
the DNS address for a v6 network. Also, copy `address` by value so that
changes to it don't change `ipnet` as well.

Signed-off-by: Tom Wieczorek <[email protected]>
(cherry picked from commit 6824326)
@k0s-bot k0s-bot requested a review from a team as a code owner November 18, 2024 13:16
@twz123 twz123 added bug Something isn't working area/configuration backport/release-1.30 PR that needs to be backported/cherrypicked to the release-1.30 branch labels Nov 18, 2024
@jnummelin jnummelin merged commit 12c0e50 into release-1.31 Nov 20, 2024
92 checks passed
@jnummelin jnummelin deleted the backport-5236-to-release-1.31 branch November 20, 2024 11:20
@k0s-bot
Copy link
Author

k0s-bot commented Nov 20, 2024

Backport failed for release-1.30, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-1.30
git worktree add -d .worktree/backport-5270-to-release-1.30 origin/release-1.30
cd .worktree/backport-5270-to-release-1.30
git switch --create backport-5270-to-release-1.30
git cherry-pick -x de3071132ccd4f4450b5c1eabe930780d20070fe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration backport/release-1.30 PR that needs to be backported/cherrypicked to the release-1.30 branch bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants