2.20. 支持的 ServiceAccount 令牌卷投射
在这个版本中,管理员可以将挂载到工作区 Pod 中的 ServiceAccount 令牌配置为 投射 ServiceAccount 令牌。此增强可让管理员设置令牌的 audience、ClustermountPath 和 expirationSeconds,并启用联邦,如 GCP 工作负载身份联邦。管理员可以在 CheCluster CR 中指定投射令牌属性:
spec:
devEnvironments:
serviceAccountTokens:
- name: <name>
mounthPath: <absolute_path_in_the_container>
audience: <audience>
expirationSeconds: <positive_integer>
path: <path_relative_to_the_mountpath>
其他资源