Skip to content

Commit

Permalink
Doc: ACNP Egress Rule Doesn't Support "from" (antrea-io#6588)
Browse files Browse the repository at this point in the history
The ACNP doc wrongly describes egress to have a "from" field. It only
supports "to" field.

Signed-off-by: Zhengsheng Zhou <[email protected]>
  • Loading branch information
edwardbadboy committed Aug 5, 2024
1 parent 29f947c commit bcc7505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/antrea-network-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ be enforced in the order in which they are written.

**egress**: Each ClusterNetworkPolicy may consist of zero or more ordered set
of egress rules. Each rule, depending on the `action` field of the rule, allows
or drops traffic which matches all `from`, `ports` sections.
or drops traffic which matches all `to`, `ports` sections.
Under `ports`, the optional field `endPort` can only be set when a numerical `port`
is set to represent a range of ports from `port` to `endPort` inclusive.
`protocols` defines additional protocols that are not supported by `ports`. Currently, only
Expand Down

0 comments on commit bcc7505

Please sign in to comment.