-
Notifications
You must be signed in to change notification settings - Fork 3.4k
docs: add egressDeny example to CiliumNetworkPolicy language guide #40272
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
Conversation
7705d9b
to
e501f9f
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.
Thanks! Looks good to me, but please rebase your changes on top of #40212.
Signed-off-by: Syed Azeez <syedazeez337@gmail.com>
e501f9f
to
afde6fe
Compare
Hi @qmonnet, I have updated my commit with the changes you have mentioned. Let me know if this is good. |
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.
Yes, it looks good from my side, thank you!
/test |
Thank you for your approvals. |
Definitely unrelated to your docs changes. Even worse; I think a bug in the testing infra that these are even run for docs-only changes, will follow up. Reran in the meantime. |
please let me know once an issue is raised and I will fix those tests as well |
Summary
This PR adds a new section to the network policy language documentation introducing the
egressDeny
field inCiliumNetworkPolicy
. It includes a real-world use case, explanation, and YAML/JSON examples.What This PR Adds
egress-deny.yaml
literalinclude
format (introduced in Deprecate local REST policy api #40212)egressDeny
rules override matchingegress
rulesTesting
Manually verified using:
kubectl apply -f egress-deny.yaml
role=frontend
,role=backend
)ping
,nslookup
, and Hubble (DROP EGRESS PolicyDeny
)Related
This PR provides the missing documentation for
egressDeny
discussed in #39697.Release Note