Upgrade deployment/daemonset to apps/v1 (#1207)

This commit is contained in:
Hang Yan authored and GitHub committed 2019-12-26 16:36:11 +08:00
1 parent 73ec0abab2
commit bc28ffc675
101 files changed
+4186 -2966

No files matched your search

+22 -14
View File
@@ -4,37 +4,44 @@
"metadata": {},
"items": [
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"apiVersion": "extensions/v1beta1",
"metadata": {
"name": "myservice",
"annotations": {
"kompose.cmd": "%CMD%",
"kompose.version": "%VERSION%"
},
"creationTimestamp": null,
"labels": {
"io.kompose.service": "myservice"
},
"annotations": {
"kompose.cmd": "%CMD%",
"kompose.version": "%VERSION%"
}
"name": "myservice"
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"io.kompose.service": "myservice"
}
},
"strategy": {},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"io.kompose.service": "myservice"
},
"annotations": {
"kompose.cmd": "%CMD%",
"kompose.version": "%VERSION%"
},
"creationTimestamp": null,
"labels": {
"io.kompose.service": "myservice"
}
},
"spec": {
"containers": [
{
"name": "myservice",
"image": "alpine",
"imagePullPolicy": "",
"name": "myservice",
"resources": {}
}
],
@@ -43,10 +50,11 @@
"supplementalGroups": [
1234
]
}
},
"serviceAccountName": "",
"volumes": null
}
},
"strategy": {}
}
},
"status": {}
}