Merge pull request #27149 from ydFu/update-managing-secret-using-kubectl

[zh] Sync tasks pages for managing-secret-using-kubectl.md
pull/27151/head
Kubernetes Prow Robot 2021-03-20 01:51:42 -07:00 committed by GitHub
commit dab012522b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -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