Use single quote to avoid string interpolation, update output
This commit is contained in:
committed by
Andrew Chen
parent
8f30034cc2
commit
e1212ea63b
@@ -42,7 +42,7 @@ username and password:
|
|||||||
**Note:** If you want to skip the Base64 encoding step, you can create a Secret
|
**Note:** If you want to skip the Base64 encoding step, you can create a Secret
|
||||||
by using the `kubectl create secret` command:
|
by using the `kubectl create secret` command:
|
||||||
|
|
||||||
kubectl create secret generic test-secret --from-literal=username="my-app",password="39528$vdg7Jb"
|
kubectl create secret generic test-secret --from-literal=username='my-app',password='39528$vdg7Jb'
|
||||||
|
|
||||||
1. View information about the Secret:
|
1. View information about the Secret:
|
||||||
|
|
||||||
@@ -69,8 +69,8 @@ username and password:
|
|||||||
|
|
||||||
Data
|
Data
|
||||||
====
|
====
|
||||||
password: 13 bytes
|
password: 12 bytes
|
||||||
username: 7 bytes
|
username: 6 bytes
|
||||||
|
|
||||||
## Creating a Pod that has access to the secret data through a Volume
|
## Creating a Pod that has access to the secret data through a Volume
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user