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
pkg/redirectpolicy: Add missing namespace check in pod update handler #19193
pkg/redirectpolicy: Add missing namespace check in pod update handler #19193
Conversation
Commit eb71afb9c3caa488563b96de9eceb5281e1d545a does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
eb71afb
to
af85f46
Compare
/test-only --focus="K8sLRPTests" --kernel_version=net-next |
af85f46
to
03dd99e
Compare
/test-only --focus="K8sLRPTests" --kernel_version=net-next Edit : Passed - https://jenkins.cilium.io/job/Cilium-PR-Tests-Kernel-Focus/425/. |
Local Redirect Policy (LRP) namespace needs to match with the backend pods selected by the LRP. This check was missing in the case where backend pods are deployed after an LRP that selects them was applied. Added unit tests. Reported-by: Joe Stringer <joe@covalent.io> Signed-off-by: Aditi Ghag <aditi@cilium.io>
03dd99e
to
0ad534a
Compare
/test-only --focus="K8sLRPTests" --kernel_version=net-next |
Latest commits only include a documentation change. |
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.
noice 👍
pkg/redirectpolicy: Add missing namespace check
Local Redirect Policy (LRP) namespace needs to match
with the backend pods selected by the LRP.
This check was missing in the case where backend
pods are deployed after an LRP that selects them
was applied.
Reported-By: Joe Stringer joe@covalent.io
Release note