[ja] Improvement: Managing Secret using kubectl
This commit is contained in:
@@ -114,10 +114,10 @@ kubectl get secret db-user-pass -o jsonpath='{.data}'
|
|||||||
出力は次のようになります:
|
出力は次のようになります:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{"password.txt":"MWYyZDFlMmU2N2Rm","username.txt":"YWRtaW4="}
|
{"password":"MWYyZDFlMmU2N2Rm","username":"YWRtaW4="}
|
||||||
```
|
```
|
||||||
|
|
||||||
`password.txt`のデータをデコードします:
|
`password`のデータをデコードします:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
echo 'MWYyZDFlMmU2N2Rm' | base64 --decode
|
echo 'MWYyZDFlMmU2N2Rm' | base64 --decode
|
||||||
|
|||||||
Reference in New Issue
Block a user