-
Notifications
You must be signed in to change notification settings - Fork 3.4k
envoy: Update to pick up deny policy support #28862
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
envoy: Update to pick up deny policy support #28862
Conversation
Keeping as draft until |
/test |
eb9f7cc
to
321a225
Compare
|
/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.
Changes look straightforward. Do we have a connectivity test covering this?
Not yet. Hopefully soon. |
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.
💯
321a225
to
08b10d0
Compare
Rebased to figure out if the privileged runtime test fail is related to this PR or not. |
/test |
Ingress policy enforcement for Cilium Ingress was recently added (cilium#28126). Update cilium-envoy to a version that enforces also deny policies. The only functional change in Cilium agent itself is the setting of the new Deny flag for PortNetworkPolicyRules in pkg/xds_server.go. The updated cilium-envoy version also adds support for overlapping port ranges and hence also for overlapping port numbers, as in when using a named port that resolves to the same port number used as a number elsewhere in the policy. Fixes: cilium#27816 Fixes: cilium#28126 Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
08b10d0
to
1a7b295
Compare
rebased for CI fixes |
/test |
Update Envoy build to pick up support for deny policies.
Ingress policy enforcement for Cilium Ingress was recently added (#28126, #28462), but deny policies were not enforced in Envoy yet. This PR updates
cilium-envoy
to a version that enforces also deny policies. The only functional change in Cilium agent itself is the setting of the newDeny
flag forPortNetworkPolicyRule
s inpkg/xds_server.go
.The updated
cilium-envoy
version also adds support for overlapping port ranges and hence also for overlapping port numbers, fixing #27816.Fixes: #27816
Fixes: #28126