mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-31 08:36:16 +00:00
Merge pull request #7531 from pmorie/secret-docs
Fix representation of v1beta3 pod in secrets doc
This commit is contained in:
@@ -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:
|
||||
```json
|
||||
{
|
||||
"apiVersion":"v1beta3",
|
||||
"apiVersion": "v1beta3",
|
||||
"name": "mypod",
|
||||
"kind": "Pod",
|
||||
"spec": {
|
||||
@@ -48,10 +48,8 @@ This is an example of a pod that uses a secret, in json format:
|
||||
}],
|
||||
"volumes": [{
|
||||
"name": "foo",
|
||||
"source": {
|
||||
"secret": {
|
||||
"secretName": "mysecret"
|
||||
}
|
||||
"secret": {
|
||||
"secretName": "mysecret"
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
Reference in New Issue
Block a user