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
Better error reporting/catching in agent on nativeRoutingCIDR #16646
Conversation
fedf731
to
eff456e
Compare
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.
Looks good!
eff456e
to
d775eb4
Compare
d775eb4
to
66433c5
Compare
@bmcustodio done ✔️ I think there are still some issues with the helm documentation as for example the |
Thank you 👍 I'm going to check that one out! |
Make sure the provided range is actually a v4 CIDR. Signed-off-by: Gilberto Bertin <gilberto@isovalent.com>
910a7b7
to
dd69fd6
Compare
test-me-please |
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.
Looks good to me.
I question the use of cidr.MustParseCIDR causing a panic while the rest of error conditions in config.go perform a normal logged error and exit the application. But this isn't a change in your PR.
Makes sense 👍 perhaps as a follow up we can replace |
That's my thinking, but low hanging fruit IMO. Nice to have. |
retest-1.21-4.9 |
While backporting for 1.10, I noticed that this PR was marked However, it deprecates an existing option in the first commit ( Given that the deprecation notice was added to the 1.11 upgrade notes, do we really want to backport the full PR to 1.10? Or was the intention just to backport the second commit ( |
@joestringer I marked this for backport as I thought the upgrade impact was minimal (i.e. only a warning that What I just realized is that this has a non trivial downgrade impact: if for example a user starts on 1.10.2 following the documentation (using the new |
FWIW taking a look back over, while this could potentially catch some misconfiguration from users in a few circumstances, I don't think this PR really reaches the threshold where we should be backporting it. There is a cost of performing the backport and some degree of risk we take on. In this case I think it's OK for users to pick up these improvements with the next release. For reference, the backport criteria definition is here: https://docs.cilium.io/en/latest/contributing/release/backports/#backport-criteria-for-current-minor-release. |
Fix Helm documentation after a recent update of the Helm values. Update the spelling file accordingly. Fixes: 792ed5a ("daemon: rename native-routing-cidr option to ipv4-native-routing-cidr") Fixes: cilium#16646 Signed-off-by: Quentin Monnet <quentin@isovalent.com>
See individual commits