Skip to content

Commit 41dff00

Browse files
committed
Improvement: Managing Secret using kubectl
1 parent 25c2367 commit 41dff00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ kubectl get secret db-user-pass -o jsonpath='{.data}'
125125
The output is similar to:
126126

127127
```json
128-
{"password.txt":"MWYyZDFlMmU2N2Rm","username.txt":"YWRtaW4="}
128+
{"password":"MWYyZDFlMmU2N2Rm","username":"YWRtaW4="}
129129
```
130130

131-
Now you can decode the `password.txt` data:
131+
Now you can decode the `password` data:
132132

133133
```shell
134134
echo 'MWYyZDFlMmU2N2Rm' | base64 --decode

0 commit comments

Comments
 (0)