Skip to content

Commit

Permalink
Merge pull request kubernetes#44026 from 1000Delta/patch-1
Browse files Browse the repository at this point in the history
[zh] Fix translations of tutorial configure-redis-using-configmap.md
  • Loading branch information
k8s-ci-robot authored Nov 21, 2023
2 parents 7bf5524 + 55d4057 commit 9a9082e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ConfigMap above as `/redis-master/redis.conf` inside the Pod.

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

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

0 comments on commit 9a9082e

Please sign in to comment.