change to list syntax

This commit is contained in:
Chao Xu 2015-05-17 15:22:25 -07:00
parent aeff05ae68
commit cf077b2970

View File

@ -179,7 +179,11 @@ credentials.
The secrets: The secrets:
```json ```json
[{ {
"apiVersion": "v1beta3",
"kind": "List",
"items":
[{
"kind": "Secret", "kind": "Secret",
"apiVersion": "v1beta3", "apiVersion": "v1beta3",
"metadata": { "metadata": {
@ -189,8 +193,8 @@ The secrets:
"password": "dmFsdWUtMg0KDQo=", "password": "dmFsdWUtMg0KDQo=",
"username": "dmFsdWUtMQ0K" "username": "dmFsdWUtMQ0K"
} }
}, },
{ {
"kind": "Secret", "kind": "Secret",
"apiVersion": "v1beta3", "apiVersion": "v1beta3",
"metadata": { "metadata": {
@ -200,13 +204,18 @@ The secrets:
"password": "dmFsdWUtMg0KDQo=", "password": "dmFsdWUtMg0KDQo=",
"username": "dmFsdWUtMQ0K" "username": "dmFsdWUtMQ0K"
} }
}] }]
}
``` ```
The pods: The pods:
```json ```json
[{ {
"apiVersion": "v1beta3",
"kind": "List",
"items":
[{
"kind": "Pod", "kind": "Pod",
"apiVersion": "v1beta3", "apiVersion": "v1beta3",
"metadata": { "metadata": {
@ -238,8 +247,8 @@ The pods:
} }
] ]
} }
}, },
{ {
"kind": "Pod", "kind": "Pod",
"apiVersion": "v1beta3", "apiVersion": "v1beta3",
"metadata": { "metadata": {
@ -271,7 +280,8 @@ The pods:
} }
] ]
} }
}] }]
}
``` ```
Both containers will have the following files present on their filesystems: Both containers will have the following files present on their filesystems: