[zh] Sync tasks pages for configmap-secret\managing-secret-using-kubectl.md
* Sync with english version in 'Improvement: Managing Secret using kubectl (#27136)' Signed-off-by: ydFu <ader.ydfu@gmail.com>pull/27149/head
parent
c3098c0d01
commit
c5d6010935
|
@ -173,11 +173,13 @@ kubectl get secret db-user-pass -o jsonpath='{.data}'
|
|||
输出类似于:
|
||||
|
||||
```json
|
||||
{"password.txt":"MWYyZDFlMmU2N2Rm","username.txt":"YWRtaW4="}
|
||||
{"password":"MWYyZDFlMmU2N2Rm","username":"YWRtaW4="}
|
||||
```
|
||||
|
||||
<!-- Now you can decode the `password.txt` data: -->
|
||||
现在你可以解码 `password.txt` 的数据:
|
||||
<!--
|
||||
Now you can decode the `password` data:
|
||||
-->
|
||||
现在你可以解码 `password` 的数据:
|
||||
|
||||
```shell
|
||||
echo 'MWYyZDFlMmU2N2Rm' | base64 --decode
|
||||
|
|
Loading…
Reference in New Issue