Skip to content

Commit 78d6a56

Browse files
committed
Create Secret / Fixed the raw data example
Based on the description the example is supposed to create a Secret that stores the username and the password, but this was not the case. It was using the devuser username instead of admin. I have changed the example to be actually doing the task that was described above.
1 parent ecd6a47 commit 78d6a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tasks/configmap-secret/managing-secret-using-kubectl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Run the following command:
3333

3434
```shell
3535
kubectl create secret generic db-user-pass \
36-
--from-literal=username=devuser \
36+
--from-literal=username=admin \
3737
--from-literal=password='S!B\*d$zDsb='
3838
```
3939
You must use single quotes `''` to escape special characters such as `$`, `\`,

0 commit comments

Comments
 (0)