Skip to content

Commit c33d0fb

Browse files
authored
Merge pull request #34318 from blaisewang/patch-1
[zh] fix typo in secret chapter
2 parents c357b82 + 3293824 commit c33d0fb

File tree

1 file changed

+1
-1
lines changed
  • content/zh-cn/docs/concepts/configuration

1 file changed

+1
-1
lines changed

content/zh-cn/docs/concepts/configuration/secret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ This is an example of a Pod that mounts a Secret named `mysecret` in a volume:
384384
1. 更改 Pod 定义,在 `.spec.volumes[]` 下添加一个卷。根据需要为卷设置其名称,
385385
并将 `.spec.volumes[].secret.secretName` 字段设置为 Secret 对象的名称。
386386
1. 为每个需要该 Secret 的容器添加 `.spec.containers[].volumeMounts[]`。
387-
并将 `.spec.containers[].volumeMounts[].readyOnly` 设置为 `true`,
387+
并将 `.spec.containers[].volumeMounts[].readOnly` 设置为 `true`,
388388
将 `.spec.containers[].volumeMounts[].mountPath` 设置为希望 Secret
389389
被放置的、目前尚未被使用的路径名。
390390
1. 更改你的镜像或命令行,以便程序读取所设置的目录下的文件。Secret 的 `data`

0 commit comments

Comments
 (0)