Skip to content

Commit 23ea8a1

Browse files
committed
fix: unclear documentation on NamespaceDefaultLabelName feature gate
1 parent 23723ee commit 23ea8a1

File tree

1 file changed

+2
-4
lines changed
  • content/en/docs/concepts/overview/working-with-objects

1 file changed

+2
-4
lines changed

content/en/docs/concepts/overview/working-with-objects/namespaces.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,10 @@ kubectl api-resources --namespaced=false
147147

148148
## Automatic labelling
149149

150-
{{< feature-state for_k8s_version="1.22" state="stable" >}}
150+
{{< feature-state for_k8s_version="1.22" state="stable" for_k8s_version="1.23" state="removed" >}}
151151

152152
The Kubernetes control plane sets an immutable {{< glossary_tooltip text="label" term_id="label" >}}
153-
`kubernetes.io/metadata.name` on all namespaces, provided that the `NamespaceDefaultLabelName`
154-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled.
155-
The value of the label is the namespace name.
153+
`kubernetes.io/metadata.name` on all namespaces, containing the namespace name.
156154

157155

158156
## {{% heading "whatsnext" %}}

0 commit comments

Comments
 (0)