Commit cf077b29 authored by Chao Xu's avatar Chao Xu

change to list syntax

parent aeff05ae
...@@ -179,7 +179,11 @@ credentials. ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -238,8 +247,8 @@ The pods:
} }
] ]
} }
}, },
{ {
"kind": "Pod", "kind": "Pod",
"apiVersion": "v1beta3", "apiVersion": "v1beta3",
"metadata": { "metadata": {
...@@ -271,7 +280,8 @@ The pods: ...@@ -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:
......
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