Merge pull request #49219 from Arhell/ja-path

[ja] Use a path different from the key in the ConfigMap
pull/49233/head
Kubernetes Prow Robot 2024-12-25 02:26:11 +01:00 committed by GitHub
commit 82c300984d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -213,10 +213,10 @@ spec:
name: log-config
items:
- key: log_level
path: log_level
path: log_level.conf
```
`log-config`ConfigMapはボリュームとしてマウントされ、その`log_level`エントリに格納されているすべてのコンテンツは、パス`/etc/config/log_level`のPodにマウントされます。
`log-config`ConfigMapはボリュームとしてマウントされ、その`log_level`エントリに格納されているすべてのコンテンツは、パス`/etc/config/log_level.conf`のPodにマウントされます。
このパスはボリュームの`mountPath`と`log_level`をキーとする`path`から派生することに注意してください。