File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content/en/docs/tasks/configmap-secret Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ characters.
42
42
43
43
### Use source files
44
44
45
- 1 . Store the credentials in files with the values encoded in base64 :
45
+ 1 . Store the credentials in files:
46
46
47
47
``` shell
48
- echo -n ' admin' | base64 > ./username.txt
49
- echo -n ' S!B\*d$zDsb=' | base64 > ./password.txt
48
+ echo -n ' admin' > ./username.txt
49
+ echo -n ' S!B\*d$zDsb=' > ./password.txt
50
50
```
51
51
The ` -n` flag ensures that the generated files do not have an extra newline
52
52
character at the end of the text. This is important because when ` kubectl`
@@ -199,4 +199,4 @@ kubectl delete secret db-user-pass
199
199
200
200
- Read more about the [Secret concept](/docs/concepts/configuration/secret/)
201
201
- Learn how to [manage Secrets using config file](/docs/tasks/configmap-secret/managing-secret-using-config-file/)
202
- - Learn how to [manage Secrets using kustomize](/docs/tasks/configmap-secret/managing-secret-using-kustomize/)
202
+ - Learn how to [manage Secrets using kustomize](/docs/tasks/configmap-secret/managing-secret-using-kustomize/)
You can’t perform that action at this time.
0 commit comments