Skip to content

Commit 2a1070f

Browse files
committed
Markups.
1 parent d158588 commit 2a1070f

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

apis/v1alpha2/clusternetworkpolicy_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ type ClusterNetworkPolicyEgressPeer struct {
378378
//
379379
// Networks matches both regular IP traffic and ICMP traffic to/from
380380
// the specified CIDRs. For example, a Networks entry of "0.0.0.0/0"
381-
// will match both IPv4 and ICMP traffic, while "0::/0" will match
381+
// will match both IPv4 and ICMP traffic, while "::/0" will match
382382
// both IPv6 and ICMPv6 traffic.
383383
//
384384
// Each item in Networks should be provided in the CIDR format and should be

site-src/api-overview.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,11 @@ before policies with higher priority values in the same tier.
119119

120120
### Rules
121121

122-
Each CNP should define at least one `Ingress` or `Egress` relevant in-cluster traffic flow
123-
along with the associated Action that should occur. In each rule the user
124-
should *at the minimum* define an `Action`, and at least one peer (`To` or `From` entry).
125-
Optionally the user may also select `Protocols` to filter traffic on and also
126-
a `Name` for each rule to make management and reporting easier for Admins.
127-
128-
The `Protocols` field supports protocol-specific matching for TCP, UDP, and SCTP
129-
(including destination port numbers, port ranges, and named ports).
122+
Each CNP should define at least one `Ingress` or `Egress` relevant in-cluster traffic flow
123+
along with the associated Action that should occur. In each rule the user
124+
should *at a minimum* define an `Action`, and at least one peer (`To` or `From` entry).
125+
Optionally the user may also define select `Ports` to filter traffic on and also
126+
a name for each rule to make management and reporting easier for Admins.
130127

131128
### Status
132129

0 commit comments

Comments
 (0)