Skip to content

Commit 0e2c67d

Browse files
committed
[zh]Update configmap
Signed-off-by: xin.li <[email protected]>
1 parent bd609ba commit 0e2c67d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/concepts/configuration/configmap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ that lets you store configuration for other objects to use. Unlike most
6565
Kubernetes objects that have a `spec`, a ConfigMap has `data` and `binaryData`
6666
fields. These fields accept key-value pairs as their values. Both the `data`
6767
field and the `binaryData` are optional. The `data` field is designed to
68-
contain UTF-8 byte sequences while the `binaryData` field is designed to
68+
contain UTF-8 strings while the `binaryData` field is designed to
6969
contain binary data as base64-encoded strings.
7070
7171
The name of a ConfigMap must be a valid
@@ -77,7 +77,7 @@ ConfigMap 是一个 API [对象](/zh/docs/concepts/overview/working-with-objects
7777
让你可以存储其他对象所需要使用的配置。
7878
和其他 Kubernetes 对象都有一个 `spec` 不同的是,ConfigMap 使用 `data`
7979
`binaryData` 字段。这些字段能够接收键-值对作为其取值。`data``binaryData`
80-
字段都是可选的。`data` 字段设计用来保存 UTF-8 字节序列,而 `binaryData`
80+
字段都是可选的。`data` 字段设计用来保存 UTF-8 字符串,而 `binaryData`
8181
则被设计用来保存二进制数据作为 base64 编码的字串。
8282

8383
ConfigMap 的名字必须是一个合法的

0 commit comments

Comments
 (0)