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

Cherry-pick: Also take secondary CIDRs into account when checking for validity of IPv4NativeRoutingCIDR #161

Closed

Conversation

jaredledvina
Copy link
Member

Cherry-picks cilium#18653 back to v1.10.9

[ upstream commit 6c6ab74 ]

Signed-off-by: Alexander Block <ablock84@gmail.com>
Signed-off-by: Gilberto Bertin <gilberto@isovalent.com>
…gCIDR

[ upstream commit e8b1210 ]

The given IPv4NativeRoutingCIDR is not necessarely part of the primary
VPC CIDR and may as well be part of one of the secondary CIDRs. We should
take these into account as well before bailing out.

Signed-off-by: Alexander Block <ablock84@gmail.com>
Signed-off-by: Gilberto Bertin <gilberto@isovalent.com>
@hemanthmalla
Copy link
Member

@jaredledvina Looks like we need some more prior commits ?
We're missing GetIPv4NativeRoutingCIDR() in pkg/option/config.go

@jaredledvina
Copy link
Member Author

Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants