mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
change to list syntax
This commit is contained in:
parent
aeff05ae68
commit
cf077b2970
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user