Skip to content

Commit 8676bcf

Browse files
committed
Store the content of ConfigMap in the file with a different name
1 parent 63a56ab commit 8676bcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@ spec:
179179
name: log-config
180180
items:
181181
- key: log_level
182-
path: log_level
182+
path: log_level.conf
183183
```
184184
185185
The `log-config` ConfigMap is mounted as a volume, and all contents stored in
186-
its `log_level` entry are mounted into the Pod at path `/etc/config/log_level`.
186+
its `log_level` entry are mounted into the Pod at path `/etc/config/log_level.conf`.
187187
Note that this path is derived from the volume's `mountPath` and the `path`
188188
keyed with `log_level`.
189189

0 commit comments

Comments
 (0)