mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 19:36:22 +00:00
Automatic merge from submit-queue (batch tested with PRs 51984, 51351, 51873, 51795, 51634) Add EgressRule to NetworkPolicy **What this PR does / why we need it**: Add EgressRule to NetworkPolicy **Which issue this PR fixes**: fixes #50453 **Special notes for your reviewer**: - Please take a look at the comments for the various types. I tried to mimic some of the language used in the Ingress comments, but I may have mangled some sentences. - Let me know if I should add some test cases for validation. I have 2-3, and did not think it was necessary to replicate each case already covered in ingress. **Release note**: ``` Add egress policies to NetworkPolicy ```