File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
content/en/docs/concepts/storage Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -87,10 +87,13 @@ then the kubelet ensures that the contents of the `serviceAccountToken` volume
87
87
and that every file has its permission mode set to ` 0600 ` .
88
88
89
89
{{< 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.
94
97
{{< /note >}}
95
98
96
99
#### Windows
You can’t perform that action at this time.
0 commit comments