Skip to content

Commit 87dd022

Browse files
zshihangliggitt
andauthored
Apply suggestions from code review
Co-authored-by: Jordan Liggitt <[email protected]>
1 parent 8a3d7ac commit 87dd022

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/reference/access-authn-authz/service-accounts-admin.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ It acts synchronously to modify pods as they are created or updated. When this p
6565
{{< feature-state for_k8s_version="v1.21" state="beta" >}}
6666

6767
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.
6969

7070
```yaml
71-
- name: kube-api-access-c5cs8
71+
- name: kube-api-access-<random-suffix>
7272
projected:
7373
defaultMode: 420 # 0644
7474
sources:
@@ -90,11 +90,11 @@ add the following projected volume instead of a secret volume for the non-expiri
9090
9191
This projected volume consists of three sources:
9292
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+.
9595
1. A DownwardAPI that references the namespace of the pod.
9696

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/).
9898

9999
You can manually migrate a secret-based service account volume to a projected volume when
100100
the `BoundServiceAccountTokenVolume` feature gate is not enabled by adding the above

0 commit comments

Comments
 (0)