[ja] Improvement: Managing Secret using kubectl

This commit is contained in:
Arhell 2021-05-18 00:44:08 +03:00
parent cb45398881
commit 1f1c57cf8e
1 changed files with 2 additions and 2 deletions

View File

@ -114,10 +114,10 @@ kubectl get secret db-user-pass -o jsonpath='{.data}'
出力は次のようになります:
```json
{"password.txt":"MWYyZDFlMmU2N2Rm","username.txt":"YWRtaW4="}
{"password":"MWYyZDFlMmU2N2Rm","username":"YWRtaW4="}
```
`password.txt`のデータをデコードします:
`password`のデータをデコードします:
```shell
echo 'MWYyZDFlMmU2N2Rm' | base64 --decode