From 49c056370faa18e9d1ef7343bd8608f1f6119b48 Mon Sep 17 00:00:00 2001 From: Cristobal Dabed <155505+cristobal@users.noreply.github.com> Date: Wed, 29 Apr 2020 15:02:14 +0200 Subject: [PATCH] Update secret.md Also apply the character `=` to the example. --- content/en/docs/concepts/configuration/secret.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/configuration/secret.md b/content/en/docs/concepts/configuration/secret.md index 29b4b759b8..73753430e6 100644 --- a/content/en/docs/concepts/configuration/secret.md +++ b/content/en/docs/concepts/configuration/secret.md @@ -979,7 +979,7 @@ In most shells, the easiest way to escape the password is to surround it with si For example, if your actual password is `S!B\*d$zDsb`, you should execute the command this way: ```shell -kubectl create secret generic dev-db-secret --from-literal=username=devuser --from-literal=password='S!B\*d$zDsb' +kubectl create secret generic dev-db-secret --from-literal=username=devuser --from-literal=password='S!B\*d$zDsb=' ``` You do not need to escape special characters in passwords from files (`--from-file`).