File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
content/en/docs/concepts/services-networking Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -340,12 +340,8 @@ namespaces based on their labels.
340
340
341
341
# # Targeting a Namespace by its name
342
342
343
- {{< feature-state for_k8s_version="1.22" state="stable" >}}
344
-
345
343
The Kubernetes control plane sets an immutable label `kubernetes.io/metadata.name` on all
346
- namespaces, provided that the `NamespaceDefaultLabelName`
347
- [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled.
348
- The value of the label is the namespace name.
344
+ namespaces, the value of the label is the namespace name.
349
345
350
346
While NetworkPolicy cannot target a namespace by its name with some object field, you can use the
351
347
standardized label to target a specific namespace.
You can’t perform that action at this time.
0 commit comments