Skip to content

Commit 2aca56e

Browse files
author
Mengjiao Liu
committed
Update ServiceAccountTokenJTI, ServiceAccountTokenPodNodeInfo, ServiceAccountTokenNodeBindingValidation to stable
1 parent d8e00ce commit 2aca56e

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

content/en/docs/reference/command-line-tools-reference/feature-gates/service-account-token-jti.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ stages:
1313
- stage: beta
1414
defaultValue: true
1515
fromVersion: "1.30"
16+
toVersion: "1.31"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.32"
1620
---
1721
Controls whether JTIs (UUIDs) are embedded into generated service account tokens,
1822
and whether these JTIs are recorded into the Kubernetes audit log for future requests made by these tokens.

content/en/docs/reference/command-line-tools-reference/feature-gates/service-account-token-node-binding-validation.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ stages:
1313
- stage: beta
1414
defaultValue: true
1515
fromVersion: "1.30"
16+
toVersion: "1.31"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.32"
1620
---
1721
Controls whether the apiserver will validate a Node reference in service account tokens.
1822

content/en/docs/reference/command-line-tools-reference/feature-gates/service-account-token-pod-node-info.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ stages:
1313
- stage: beta
1414
defaultValue: true
1515
fromVersion: "1.30"
16+
toVersion: "1.31"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.32"
1620
---
1721
Controls whether the apiserver embeds the node name and uid
1822
for the associated node when issuing service account tokens bound to Pod objects.

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ token might be shorter, or could even be longer).
192192

193193
{{< feature-state feature_gate_name="ServiceAccountTokenNodeBinding" >}}
194194

195-
When the `ServiceAccountTokenNodeBinding` and `ServiceAccountTokenNodeBindingValidation`
196-
features are enabled, and using `kubectl` v1.31 or later, it is possible to create a service
195+
Using `kubectl` v1.31 or later, it is possible to create a service
197196
account token that is directly bound to a Node:
198197

199198
```shell
@@ -437,10 +436,10 @@ The JSON payload of this token follows a well defined schema - an example payloa
437436
"exp": 1731613413,
438437
"iat": 1700077413,
439438
"iss": "https://kubernetes.default.svc", # matches the first value passed to the --service-account-issuer flag
440-
"jti": "ea28ed49-2e11-4280-9ec5-bc3d1d84661a", # ServiceAccountTokenJTI feature must be enabled for the claim to be present
439+
"jti": "ea28ed49-2e11-4280-9ec5-bc3d1d84661a",
441440
"kubernetes.io": {
442441
"namespace": "kube-system",
443-
"node": { # ServiceAccountTokenPodNodeInfo feature must be enabled for the API server to add this node reference claim
442+
"node": {
444443
"name": "127.0.0.1",
445444
"uid": "58456cb0-dd00-45ed-b797-5578fdceaced"
446445
},

0 commit comments

Comments
 (0)