From 0997416af616b5b74079855f45c8a2129a73a554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E7=8E=89=E5=A0=82?= Date: Mon, 5 Oct 2020 17:18:49 +0800 Subject: [PATCH] Update encrypt-data.md --- content/zh/docs/tasks/administer-cluster/encrypt-data.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/zh/docs/tasks/administer-cluster/encrypt-data.md b/content/zh/docs/tasks/administer-cluster/encrypt-data.md index 65e7689406..6a645eb2ec 100644 --- a/content/zh/docs/tasks/administer-cluster/encrypt-data.md +++ b/content/zh/docs/tasks/administer-cluster/encrypt-data.md @@ -206,7 +206,7 @@ To create a new secret perform the following steps: {{< caution >}} 你的配置文件包含可以解密 etcd 内容的密钥,因此你必须正确限制主控节点的访问权限, 以便只有能运行 kube-apiserver 的用户才能读取它。 -{{< caution >}} +{{< /caution >}} 2. 使用 etcdctl 命令行,从 etcd 中读取 secret: - ```shell -   ETCDCTL_API=3 etcdctl get /registry/secrets/default/secret1 [...] | hexdump -C + ETCDCTL_API=3 etcdctl get /registry/secrets/default/secret1 [...] | hexdump -C ```