Skip to content

Commit 0cdbbb5

Browse files
committed
KEP-4193: clarify required kubectl version
1 parent 6c7b885 commit 0cdbbb5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/en/docs/tasks/configure-pod-container/configure-service-account.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,14 @@ token might be shorter, or could even be longer).
187187
{{< feature-state feature_gate_name="ServiceAccountTokenNodeBinding" >}}
188188

189189
When the `ServiceAccountTokenNodeBinding` and `ServiceAccountTokenNodeBindingValidation`
190-
features are enabled, it is possible to create a service account token that is directly bound to a `Node`:
190+
features are enabled, and using `kubectl` v1.31 or later, it is possible to create a service
191+
account token that is directly bound to a Node:
191192

192193
```shell
193194
kubectl create token build-robot --bound-object-kind Node --bound-object-name node-001 --bound-object-uid 123...456
194195
```
195196

196-
The token will be valid until it expires or either the associated `Node` or service account are deleted.
197+
The token will be valid until it expires or either the associated Node or service account are deleted.
197198

198199
{{< note >}}
199200
Versions of Kubernetes before v1.22 automatically created long term credentials for

0 commit comments

Comments
 (0)