From 05276f34cfe8566a0feee3e654818d919c8fae32 Mon Sep 17 00:00:00 2001 From: AlginMaduro Date: Fri, 20 May 2016 12:15:37 +0200 Subject: [PATCH] Updated index.md Without -n option to echo. Without the -n the file would contain a newline at the end. https://scottlinux.com/2012/09/01/encode-or-decode-base64-from-the-command-line/ as reference --- docs/user-guide/secrets/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/secrets/index.md b/docs/user-guide/secrets/index.md index 486521742f..540b6f994a 100644 --- a/docs/user-guide/secrets/index.md +++ b/docs/user-guide/secrets/index.md @@ -47,8 +47,8 @@ username and password that the pods should use is in the files ```shell # Create files needed for rest of example. -$ echo "admin" > ./username.txt -$ echo "1f2d1e2e67df" > ./password.txt +$ echo -n "admin" > ./username.txt +$ echo -n "1f2d1e2e67df" > ./password.txt ``` The `kubectl create secret` command