Skip to content

Commit d132779

Browse files
committed
[fr] Use a path different from the key in the ConfigMap
1 parent 075af09 commit d132779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ spec:
239239
name: log-config
240240
items:
241241
- key: log_level
242-
path: log_level
242+
path: log_level.conf
243243
```
244244

245245
La ConfigMap `log-config` est montée comme un volume et tout le contenu stocké dans son entrée `log_level`
246-
est monté dans le Pod au chemin "`/etc/config/log_level`".
246+
est monté dans le Pod au chemin "`/etc/config/log_level.conf`".
247247
À noter que ce chemin est dérivé du `mountPath` du volume et le `path` est étiqueté avec la clef `log_level`.
248248

249249
{{< caution >}}

0 commit comments

Comments
 (0)