You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/nw-networkpolicy-object.adoc
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,8 @@ spec:
30
30
- protocol: TCP
31
31
port: 27017
32
32
----
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