Skip to content

Commit ef18ad6

Browse files
authored
Merge pull request #37824 from fantasyhh/patch-1
[zh] Update configure-redis-using-configmap.md
2 parents 6f2acaf + d815915 commit ef18ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/zh-cn/docs/tutorials/configuration/configure-redis-using-configmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ ConfigMap above as `/redis-master/redis.conf` inside the Pod.
103103

104104
*`spec.volumes[1]` 创建一个名为 `config` 的卷。
105105
* `spec.volumes[1].items[0]` 下的 `key``path` 会将来自 `example-redis-config`
106-
ConfigMap 中的 `redis-config` 密钥公开在 `config` 卷上一个名为 `redis-config` 的文件中。
106+
ConfigMap 中的 `redis-config` 密钥公开在 `config` 卷上一个名为 `redis.conf` 的文件中。
107107
* 然后 `config` 卷被 `spec.containers[0].volumeMounts[1]` 挂载在 `/redis-master`
108108

109109
这样做的最终效果是将上面 `example-redis-config` 配置中 `data.redis-config`

0 commit comments

Comments
 (0)