Skip to content

Commit 480ccb5

Browse files
committed
[id] Use a path different from the key in the ConfigMap
1 parent 495abc8 commit 480ccb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ spec:
208208
name: log-config
209209
items:
210210
- key: log_level
211-
path: log_level
211+
path: log_level.conf
212212
```
213213

214-
ConfigMap `log-config` ditambatkan sebagai sebuah Volume, dan semua isinya yang ditaruh di dalam entri `log_level`-nya ditambatkan dalam Pod tersebut pada _path_ "`/etc/config/log_level`".
214+
ConfigMap `log-config` ditambatkan sebagai sebuah Volume, dan semua isinya yang ditaruh di dalam entri `log_level`-nya ditambatkan dalam Pod tersebut pada _path_ "`/etc/config/log_level.conf`".
215215
Perlu dicatat bahwa _path_ tersebut berasal dari isian `mountPath` pada Volume, dan `path` yang ditunjuk dengan `key` bernama `log_level`.
216216

217217
{{< caution >}}

0 commit comments

Comments
 (0)