Skip to content

Commit 0530782

Browse files
committed
GH#41632: correcting network policy example callout
1 parent 3c25c95 commit 0530782

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

modules/nw-networkpolicy-object.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ spec:
3030
- protocol: TCP
3131
port: 27017
3232
----
33-
<1> The `name` of the NetworkPolicy object.
34-
<2> A selector describing the pods the policy applies to. The policy object can
35-
only select pods in the project that the NetworkPolicy object is defined.
36-
<3> A selector matching the pods that the policy object allows ingress traffic
37-
from. The selector will match pods in any project.
38-
<4> A list of one or more destination ports to accept traffic on.
33+
<1> The name of the NetworkPolicy object.
34+
<2> A selector that describes the pods to which the policy applies. The policy object can
35+
only select pods in the project that defines the NetworkPolicy object.
36+
<3> A selector that matches the pods from which the policy object allows ingress traffic. The selector matches pods in the same namespace as the NetworkPolicy.
37+
<4> A list of one or more destination ports on which to accept traffic.

0 commit comments

Comments
 (0)