Merge pull request #23652 from feranwq/patch-3
update secret.md fix typo
This commit is contained in:
commit
e9e90bf711
|
@ -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`).
|
You do not need to escape special characters in passwords from files (`--from-file`).
|
||||||
-->
|
-->
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
特殊字符(例如 `$`、`*`、`*`、`=` 和 `!`)可能会被你的
|
特殊字符(例如 `$`、`\`、`*`、`=` 和 `!`)可能会被你的
|
||||||
[Shell](https://en.wikipedia.org/wiki/Shell_(computing)) 解析,因此需要转义。
|
[Shell](https://en.wikipedia.org/wiki/Shell_(computing)) 解析,因此需要转义。
|
||||||
在大多数 Shell 中,对密码进行转义的最简单方式是使用单引号(`'`)将其扩起来。
|
在大多数 Shell 中,对密码进行转义的最简单方式是使用单引号(`'`)将其扩起来。
|
||||||
例如,如果您的实际密码是 `S!B\*d$zDsb=` ,则应通过以下方式执行命令:
|
例如,如果您的实际密码是 `S!B\*d$zDsb=` ,则应通过以下方式执行命令:
|
||||||
|
|
Loading…
Reference in New Issue