Commit dd51882b authored by Paul Morie's avatar Paul Morie

Fix representation of v1beta3 pod in secrets doc

parent 9fd8cbae
...@@ -32,7 +32,7 @@ The values are arbitrary data, encoded using base64. ...@@ -32,7 +32,7 @@ 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", "apiVersion": "v1beta3",
"name": "mypod", "name": "mypod",
"kind": "Pod", "kind": "Pod",
"spec": { "spec": {
...@@ -48,10 +48,8 @@ This is an example of a pod that uses a secret, in json format: ...@@ -48,10 +48,8 @@ This is an example of a pod that uses a secret, in json format:
}], }],
"volumes": [{ "volumes": [{
"name": "foo", "name": "foo",
"source": { "secret": {
"secret": { "secretName": "mysecret"
"secretName": "mysecret"
}
} }
}] }]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment