Skip to content

Commit 46d080f

Browse files
committed
Update matchLabels parameter in network-policy
1 parent 4dc63fb commit 46d080f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/nw-networkpolicy-multitenant-isolation.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,17 @@ spec:
4343
- from:
4444
- namespaceSelector:
4545
matchLabels:
46-
network.openshift.io/policy-group: ingress
46+
policy-group.network.openshift.io/ingress=""
4747
podSelector: {}
4848
policyTypes:
4949
- Ingress
5050
EOF
5151
----
52-
52+
+
53+
[NOTE]
54+
====
55+
`policy-group.network.openshift.io/ingress=""` is the preferred namespace selector label for OpenShift SDN. You can use the `network.openshift.io/policy-group: ingress` namespace selector label, but this is a legacy label.
56+
====
5357
.. A policy named `allow-from-openshift-monitoring`:
5458
+
5559
[source,terminal]

0 commit comments

Comments
 (0)