You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the `BoundServiceAccountTokenVolume`[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled, the service account admission controller will
68
-
add the following projected volume instead of a secret volume for the non-expiring service account token created by Token Controller.
68
+
add the following projected volume instead of a Secret-based volume for the non-expiring service account token created by Token Controller.
69
69
70
70
```yaml
71
-
- name: kube-api-access-c5cs8
71
+
- name: kube-api-access-<random-suffix>
72
72
projected:
73
73
defaultMode: 420# 0644
74
74
sources:
@@ -90,11 +90,11 @@ add the following projected volume instead of a secret volume for the non-expiri
90
90
91
91
This projected volume consists of three sources:
92
92
93
-
1. A ServiceAccountToken acquired from kube-apiserver via TokenRequest API. It will expire after 1 hour by default or the pod is deleted. It is bound to the pod and has kube-apiserver as the audience.
94
-
1. A ConfigMap contains a CA bundle used for verifying connections to the kube-apiserver. This feature depends on the `RootCAConfigMap` feature gate enabled which publish a "kube-root-ca.crt" ConfigMap to every namespace.
93
+
1. A ServiceAccountToken acquired from kube-apiserver via TokenRequest API. It will expire after 1 hour by default or when the pod is deleted. It is bound to the pod and has kube-apiserver as the audience.
94
+
1. A ConfigMap containing a CA bundle used for verifying connections to the kube-apiserver. This feature depends on the `RootCAConfigMap` feature gate being enabled, which publishes a "kube-root-ca.crt" ConfigMap to every namespace. `RootCAConfigMap` is enabled by default in 1.20, and always enabled in 1.21+.
95
95
1. A DownwardAPI that references the namespace of the pod.
96
96
97
-
See more details about [projected volume](/docs/tasks/configure-pod-container/configure-projected-volume-storage/).
97
+
See more details about [projected volumes](/docs/tasks/configure-pod-container/configure-projected-volume-storage/).
98
98
99
99
You can manually migrate a secret-based service account volume to a projected volume when
100
100
the `BoundServiceAccountTokenVolume` feature gate is not enabled by adding the above
0 commit comments