mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 10:17:46 +00:00
Fix examples to set manifest ID and version
Part 4 in a series of changes towards data validation.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
"podTemplate": {
|
||||
"desiredState": {
|
||||
"manifest": {
|
||||
"version": "v1beta1",
|
||||
"id": "nginxController",
|
||||
"containers": [{
|
||||
"name": "nginx",
|
||||
"image": "dockerfile/nginx",
|
||||
|
@@ -8,6 +8,8 @@
|
||||
},
|
||||
"desiredState": {
|
||||
"manifest": {
|
||||
"version": "v1beta1",
|
||||
"id": "my-pod-1",
|
||||
"containers": [{
|
||||
"image": "dockerfile/nginx",
|
||||
"ports": [{
|
||||
@@ -29,6 +31,8 @@
|
||||
},
|
||||
"desiredState": {
|
||||
"manifest": {
|
||||
"version": "v1beta1",
|
||||
"id": "my-pod-2",
|
||||
"containers": [{
|
||||
"image": "dockerfile/nginx",
|
||||
"ports": [{
|
||||
@@ -43,4 +47,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -2,6 +2,8 @@
|
||||
"id": "php",
|
||||
"desiredState": {
|
||||
"manifest": {
|
||||
"version": "v1beta1",
|
||||
"id": "php",
|
||||
"containers": [{
|
||||
"image": "dockerfile/nginx",
|
||||
"ports": [{
|
||||
|
Reference in New Issue
Block a user