Skip to content

Commit a170f56

Browse files
guettliTim Bannister
andauthored
Add path /var/run/secrets/.../serviceaccount/token (#32794)
* Add path /var/run/secrets/.../serviceaccount/token Add path /var/run/secrets/kubernetes.io/serviceaccount/token so that new users understand the "magic". * Update content/en/docs/tasks/configure-pod-container/configure-service-account.md Co-authored-by: Tim Bannister <[email protected]> Co-authored-by: Tim Bannister <[email protected]>
1 parent ea642a9 commit a170f56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tasks/configure-pod-container/configure-service-account.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can access the API from inside a pod using automatically mounted service acc
4242
The API permissions of the service account depend on the
4343
[authorization plugin and policy](/docs/reference/access-authn-authz/authorization/#authorization-modules) in use.
4444

45-
In version 1.6+, you can opt out of automounting API credentials for a service account by setting `automountServiceAccountToken: false` on the service account:
45+
You can opt out of automounting API credentials on `/var/run/secrets/kubernetes.io/serviceaccount/token` for a service account by setting `automountServiceAccountToken: false` on the ServiceAccount:
4646

4747
```yaml
4848
apiVersion: v1

0 commit comments

Comments
 (0)