Skip to content

Commit 2a52877

Browse files
authored
Merge pull request #92194 from palonsoro/OCPBUGS-55031
OCPBUGS-55031: Fix ClusterUserDefinedNetwork example
2 parents fb66614 + 0ceac6f commit 2a52877

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/nw-cudn-cr.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ metadata:
4747
spec:
4848
namespaceSelector: # <2>
4949
matchLabels: # <3>
50-
- "<example_namespace_one>":"" # <4>
51-
- "<example_namespace_two>":"" # <4>
50+
"<label_1_key>": "<label_1_value>" # <4>
51+
"<label_2_key>": "<label_2_value>" # <4>
5252
network: # <5>
5353
topology: Layer2 # <6>
5454
layer2: # <7>
@@ -60,7 +60,7 @@ spec:
6060
<1> Name of your `ClusterUserDefinedNetwork` CR.
6161
<2> A label query over the set of namespaces that the cluster UDN CR applies to. Uses the standard Kubernetes `MatchLabel` selector. Must not point to `default` or `openshift-*` namespaces.
6262
<3> Uses the `matchLabels` selector type, where terms are evaluated with an `AND` relationship.
63-
<4> Because the `matchLabels` selector type is used, provisions namespaces matching both `<example_namespace_one>` _and_ `<example_namespace_two>`.
63+
<4> Because the `matchLabels` selector type is used, provisions namespaces that contain both `<label_1_key>=<label_1_value>` and `<label_2_key>=<label_2_value>` labels.
6464
<5> Describes the network configuration.
6565
<6> The `topology` field describes the network configuration; accepted values are `Layer2` and `Layer3`. Specifying a `Layer2` topology type creates one logical switch that is shared by all nodes.
6666
<7> This field specifies the topology configuration. It can be `layer2` or `layer3`.

0 commit comments

Comments
 (0)