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
The ServiceAccount admission controller will add the following projected volume instead of a Secret-based volume for the non-expiring service account token created by Token Controller.
132
+
The ServiceAccount admission controller will add the following projected volume instead of a
133
+
Secret-based volume for the non-expiring service account token created by the Token controller.
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.
163
-
1. A ConfigMap containing a CA bundle used for verifying connections to the kube-apiserver. This feature depends on the `RootCAConfigMap` feature gate, which publishes a "kube-root-ca.crt" ConfigMap to every namespace. `RootCAConfigMap` feature gate is graduated to GA in 1.21 and default to true. (This flag will be removed from --feature-gate arg in 1.22)
164
-
1. A DownwardAPI that references the namespace of the pod.
162
+
1. A `serviceAccountToken` acquired from kube-apiserver via TokenRequest API. It will expire
163
+
after 1 hour by default or when the pod is deleted. It is bound to the pod and it has
164
+
its audience set to match the audience of the `kube-apiserver`.
165
+
1. A `configMap` containing a CA bundle used for verifying connections to the kube-apiserver.
166
+
1. A `downwardAPI` that references the namespace of the pod.
165
167
-->
166
168
此投射卷有三个数据源:
167
169
168
-
1. 通过 TokenRequest API 从 kube-apiserver 处获得的 ServiceAccountToken。
170
+
1. 通过 TokenRequest API 从 kube-apiserver 处获得的 `serviceAccountToken`。
169
171
这一令牌默认会在一个小时之后或者 Pod 被删除时过期。
170
-
该令牌绑定到 Pod 实例上,并将 kube-apiserver 作为其受众(audience)。
171
-
1. 包含用来验证与 kube-apiserver 连接的 CA 证书包的 ConfigMap 对象。
0 commit comments