Skip to content

Commit d2f5f92

Browse files
authored
Merge pull request #28311 from Shubham82/fix-Managing_Service_Accounts
Improvement: Managing Service Accounts
2 parents aa4e715 + 5cf02fd commit d2f5f92

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ It acts synchronously to modify pods as they are created or updated. When this p
5858
1. It ensures that the `ServiceAccount` referenced by the pod exists, and otherwise rejects it.
5959
1. It adds a `volume` to the pod which contains a token for API access if neither the ServiceAccount `automountServiceAccountToken` nor the Pod's `automountServiceAccountToken` is set to `false`.
6060
1. It adds a `volumeSource` to each container of the pod mounted at `/var/run/secrets/kubernetes.io/serviceaccount`, if the previous step has created a volume for ServiceAccount token.
61-
1. If the pod does not contain any `ImagePullSecrets`, then `ImagePullSecrets` of the `ServiceAccount` are added to the pod.
61+
1. If the pod does not contain any `imagePullSecrets`, then `imagePullSecrets` of the `ServiceAccount` are added to the pod.
6262

6363
#### Bound Service Account Token Volume
6464

@@ -91,14 +91,14 @@ add the following projected volume instead of a Secret-based volume for the non-
9191
This projected volume consists of three sources:
9292
9393
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+.
94+
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)
9595
1. A DownwardAPI that references the namespace of the pod.
9696

9797
See more details about [projected volumes](/docs/tasks/configure-pod-container/configure-projected-volume-storage/).
9898

99-
You can manually migrate a secret-based service account volume to a projected volume when
99+
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
101-
projected volume to the pod spec. However, `RootCAConfigMap` needs to be enabled.
101+
projected volume to the pod spec.
102102

103103
### Token Controller
104104

0 commit comments

Comments
 (0)