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

Check if user has a correct cluster-cidr and service-cidr config #5492

Merged
merged 1 commit into from
May 3, 2022

Conversation

manuelbuil
Copy link
Contributor

Signed-off-by: Manuel Buil mbuil@suse.com

Proposed Changes

This PR has two changes:
1 - It removes the nature of the node's IP to decide if we should enable IPv6. It does not matter if the node is ipv6, ipv4 or dual-stack to enable ipv6 parameters
2 - Check if cluster-cidr and services-cidr share the same IP version. Otherwise, there are strange errors

Types of Changes

"New feature" ==> avoids user shooting himself/herself in the foot

Verification

Linked Issues

#5491

User-Facing Change


Further Comments

@manuelbuil manuelbuil requested a review from a team as a code owner April 22, 2022 14:22
pkg/agent/run.go Outdated Show resolved Hide resolved
@manuelbuil manuelbuil force-pushed the check_combination_dualStack branch 3 times, most recently from 01e04df to 6d23e60 Compare April 25, 2022 15:57
@manuelbuil
Copy link
Contributor Author

Waiting for code freeze to end....

@manuelbuil manuelbuil force-pushed the check_combination_dualStack branch 2 times, most recently from 27f3db0 to 521844e Compare May 3, 2022 08:47
Signed-off-by: Manuel Buil <mbuil@suse.com>
@manuelbuil manuelbuil force-pushed the check_combination_dualStack branch from 521844e to 314e3f5 Compare May 3, 2022 09:16
@manuelbuil manuelbuil merged commit a935a42 into k3s-io:master May 3, 2022
@manuelbuil manuelbuil deleted the check_combination_dualStack branch May 3, 2022 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants