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