Skip to content

Commit 2512f5d

Browse files
verbTim Bannister
andauthored
Update content/en/docs/concepts/storage/projected-volumes.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent d825c72 commit 2512f5d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

content/en/docs/concepts/storage/projected-volumes.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,13 @@ then the kubelet ensures that the contents of the `serviceAccountToken` volume
8787
and that every file has its permission mode set to `0600`.
8888

8989
{{< note >}}
90-
If you add any {{< glossary_tooltip text="ephemeral containers" term_id="ephemeral-container" >}} to
91-
a Pod, those won't have been present when the pod started running on that node.
92-
Adding an ephemeral container to a pod does **not** change any volume permissions
93-
that were set when the pod was created.
90+
{{< glossary_tooltip text="Ephemeral containers" term_id="ephemeral-container" >}}
91+
added to a Pod after it is created do *not* change volume permissions that were
92+
set when the pod was created.
93+
94+
If a Pod's `serviceAccountToken` volume permissions were set to `0600` because
95+
all other containers in the Pod have the same `runAsUser`, ephemeral
96+
containers must use the same `runAsUser` to be able to read the token.
9497
{{< /note >}}
9598

9699
#### Windows

0 commit comments

Comments
 (0)