diff --git a/content/zh/docs/concepts/configuration/secret.md b/content/zh/docs/concepts/configuration/secret.md index 44ab02eae1..66980089df 100644 --- a/content/zh/docs/concepts/configuration/secret.md +++ b/content/zh/docs/concepts/configuration/secret.md @@ -166,7 +166,7 @@ kubectl create secret generic dev-db-secret \ You do not need to escape special characters in passwords from files (`--from-file`). --> {{< note >}} -特殊字符(例如 `$`、`*`、`*`、`=` 和 `!`)可能会被你的 +特殊字符(例如 `$`、`\`、`*`、`=` 和 `!`)可能会被你的 [Shell](https://en.wikipedia.org/wiki/Shell_(computing)) 解析,因此需要转义。 在大多数 Shell 中,对密码进行转义的最简单方式是使用单引号(`'`)将其扩起来。 例如,如果您的实际密码是 `S!B\*d$zDsb=` ,则应通过以下方式执行命令: