Merge pull request #27149 from ydFu/update-managing-secret-using-kubectl
[zh] Sync tasks pages for managing-secret-using-kubectl.mdpull/27151/head
commit
dab012522b
|
@ -173,11 +173,13 @@ kubectl get secret db-user-pass -o jsonpath='{.data}'
|
||||||
输出类似于:
|
输出类似于:
|
||||||
|
|
||||||
```json
|
```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
|
```shell
|
||||||
echo 'MWYyZDFlMmU2N2Rm' | base64 --decode
|
echo 'MWYyZDFlMmU2N2Rm' | base64 --decode
|
||||||
|
|
Loading…
Reference in New Issue