mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
Merge pull request #8248 from pmorie/secrets-doc
Fix secrets example pod
This commit is contained in:
commit
8d6dee9980
@ -32,9 +32,11 @@ The values are arbitrary data, encoded using base64.
|
|||||||
This is an example of a pod that uses a secret, in json format:
|
This is an example of a pod that uses a secret, in json format:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"apiVersion": "v1beta3",
|
|
||||||
"name": "mypod",
|
|
||||||
"kind": "Pod",
|
"kind": "Pod",
|
||||||
|
"apiVersion": "v1beta3",
|
||||||
|
"metadata": {
|
||||||
|
"name": "mypod"
|
||||||
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"manifest": {
|
"manifest": {
|
||||||
"containers": [{
|
"containers": [{
|
||||||
|
Loading…
Reference in New Issue
Block a user