Skip to content

Commit 0997416

Browse files
authored
Update encrypt-data.md
1 parent 763cb5f commit 0997416

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

content/zh/docs/tasks/administer-cluster/encrypt-data.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ To create a new secret perform the following steps:
206206
{{< caution >}}
207207
你的配置文件包含可以解密 etcd 内容的密钥,因此你必须正确限制主控节点的访问权限,
208208
以便只有能运行 kube-apiserver 的用户才能读取它。
209-
{{< caution >}}
209+
{{< /caution >}}
210210
211211
<!--
212212
## Verifying that data is encrypted
@@ -232,9 +232,8 @@ program to retrieve the contents of your secret.
232232
2. Using the etcdctl commandline, read that secret out of etcd:
233233
-->
234234
2. 使用 etcdctl 命令行,从 etcd 中读取 secret:
235-
236235
```shell
237-
   ETCDCTL_API=3 etcdctl get /registry/secrets/default/secret1 [...] | hexdump -C
236+
ETCDCTL_API=3 etcdctl get /registry/secrets/default/secret1 [...] | hexdump -C
238237
```
239238

240239
<!--

0 commit comments

Comments
 (0)