update secret.md fix typo

This commit is contained in:
feranwq
2020-09-02 16:14:59 +08:00
committed by GitHub
parent dcb611d8d5
commit 33c8267163
@@ -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=` ,则应通过以下方式执行命令: