-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix: ignore encrypt interface field #37184
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: ignore encrypt interface field #37184
Conversation
/ci-eks |
/ci-eks |
/ci-eks |
2 similar comments
/ci-eks |
/ci-eks |
This commit ignores the field EncryptInterface when verifying if there's any mutation of option.Config after its initialization. With this commit, triggering reinitializeIPSec path causing mutation when using it without kube-proxy replacement on EKS clusters won't fail Cilium startup. This is a temporary fix, once bpf_network will be removed for IPsec, EncryptInterface won't be used anymore. Signed-off-by: Antony Reynaud <antony.reynaud@isovalent.com>
5445904
to
d83fb6e
Compare
/ci-eks |
1 similar comment
/ci-eks |
/ci-eks |
1 similar comment
/ci-eks |
/test |
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.
LGTM
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.
Thanks and lgtm 👍
It happens for 1.17, so adding the needs-backport/1.17 https://github.com/cilium/cilium/actions/runs/13810557501/job/38631004469 |
This commit ignores the field EncryptInterface when verifying if there's any mutation of option.Config after its initialization.
With this commit, triggering reinitializeIPSec path causing mutation when using it without kube-proxy replacement on EKS clusters won't fail Cilium startup.
This is a temporary fix, once bpf_network will be removed for IPsec, EncryptInterface won't be used anymore.
Fixes: #34794