Merge pull request #41798 from rayowang/fixdocs

fix: unclear documentation on NamespaceDefaultLabelName feature gate
pull/41907/head
Kubernetes Prow Robot 2023-06-29 01:18:45 -07:00 committed by GitHub
commit 7adb15dfef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -150,8 +150,7 @@ kubectl api-resources --namespaced=false
{{< feature-state for_k8s_version="1.22" state="stable" >}}
The Kubernetes control plane sets an immutable {{< glossary_tooltip text="label" term_id="label" >}}
`kubernetes.io/metadata.name` on all namespaces, provided that the `NamespaceDefaultLabelName`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled.
`kubernetes.io/metadata.name` on all namespaces.
The value of the label is the namespace name.