Commit e31bcb97 authored by Guangya Liu's avatar Guangya Liu

Generated code.

parent 701c99b9
...@@ -63977,8 +63977,7 @@ ...@@ -63977,8 +63977,7 @@
"io.k8s.api.core.v1.Container": { "io.k8s.api.core.v1.Container": {
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"args": { "args": {
...@@ -64012,7 +64011,7 @@ ...@@ -64012,7 +64011,7 @@
} }
}, },
"image": { "image": {
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.",
"type": "string" "type": "string"
}, },
"imagePullPolicy": { "imagePullPolicy": {
...@@ -5323,8 +5323,7 @@ ...@@ -5323,8 +5323,7 @@
"id": "v1.Container", "id": "v1.Container",
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"name": { "name": {
...@@ -5333,7 +5332,7 @@ ...@@ -5333,7 +5332,7 @@
}, },
"image": { "image": {
"type": "string", "type": "string",
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
}, },
"command": { "command": {
"type": "array", "type": "array",
......
...@@ -7653,8 +7653,7 @@ ...@@ -7653,8 +7653,7 @@
"id": "v1.Container", "id": "v1.Container",
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"name": { "name": {
...@@ -7663,7 +7662,7 @@ ...@@ -7663,7 +7662,7 @@
}, },
"image": { "image": {
"type": "string", "type": "string",
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
}, },
"command": { "command": {
"type": "array", "type": "array",
......
...@@ -2718,8 +2718,7 @@ ...@@ -2718,8 +2718,7 @@
"id": "v1.Container", "id": "v1.Container",
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"name": { "name": {
...@@ -2728,7 +2727,7 @@ ...@@ -2728,7 +2727,7 @@
}, },
"image": { "image": {
"type": "string", "type": "string",
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
}, },
"command": { "command": {
"type": "array", "type": "array",
......
...@@ -2773,8 +2773,7 @@ ...@@ -2773,8 +2773,7 @@
"id": "v1.Container", "id": "v1.Container",
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"name": { "name": {
...@@ -2783,7 +2782,7 @@ ...@@ -2783,7 +2782,7 @@
}, },
"image": { "image": {
"type": "string", "type": "string",
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
}, },
"command": { "command": {
"type": "array", "type": "array",
......
...@@ -2773,8 +2773,7 @@ ...@@ -2773,8 +2773,7 @@
"id": "v1.Container", "id": "v1.Container",
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"name": { "name": {
...@@ -2783,7 +2782,7 @@ ...@@ -2783,7 +2782,7 @@
}, },
"image": { "image": {
"type": "string", "type": "string",
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
}, },
"command": { "command": {
"type": "array", "type": "array",
......
...@@ -8271,8 +8271,7 @@ ...@@ -8271,8 +8271,7 @@
"id": "v1.Container", "id": "v1.Container",
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"name": { "name": {
...@@ -8281,7 +8280,7 @@ ...@@ -8281,7 +8280,7 @@
}, },
"image": { "image": {
"type": "string", "type": "string",
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
}, },
"command": { "command": {
"type": "array", "type": "array",
......
...@@ -21659,8 +21659,7 @@ ...@@ -21659,8 +21659,7 @@
"id": "v1.Container", "id": "v1.Container",
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"name": { "name": {
...@@ -21669,7 +21668,7 @@ ...@@ -21669,7 +21668,7 @@
}, },
"image": { "image": {
"type": "string", "type": "string",
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
}, },
"command": { "command": {
"type": "array", "type": "array",
......
...@@ -5500,8 +5500,8 @@ Examples:<br> ...@@ -5500,8 +5500,8 @@ Examples:<br>
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a> This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
......
...@@ -5765,8 +5765,8 @@ Examples:<br> ...@@ -5765,8 +5765,8 @@ Examples:<br>
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a> This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
......
...@@ -4385,8 +4385,8 @@ Examples:<br> ...@@ -4385,8 +4385,8 @@ Examples:<br>
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a> This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
......
...@@ -4536,8 +4536,8 @@ Examples:<br> ...@@ -4536,8 +4536,8 @@ Examples:<br>
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a> This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
......
...@@ -4392,8 +4392,8 @@ Examples:<br> ...@@ -4392,8 +4392,8 @@ Examples:<br>
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a> This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
......
...@@ -6282,8 +6282,8 @@ Both these may change in the future. Incoming requests are matched against the h ...@@ -6282,8 +6282,8 @@ Both these may change in the future. Incoming requests are matched against the h
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a> This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
......
...@@ -7368,8 +7368,8 @@ Examples:<br> ...@@ -7368,8 +7368,8 @@ Examples:<br>
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a> This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
......
...@@ -10770,8 +10770,7 @@ ...@@ -10770,8 +10770,7 @@
"io.k8s.api.core.v1.Container": { "io.k8s.api.core.v1.Container": {
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"args": { "args": {
...@@ -10805,7 +10804,7 @@ ...@@ -10805,7 +10804,7 @@
} }
}, },
"image": { "image": {
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.",
"type": "string" "type": "string"
}, },
"imagePullPolicy": { "imagePullPolicy": {
......
...@@ -6470,8 +6470,7 @@ ...@@ -6470,8 +6470,7 @@
"id": "v1.Container", "id": "v1.Container",
"description": "A single application container that you want to run within a pod.", "description": "A single application container that you want to run within a pod.",
"required": [ "required": [
"name", "name"
"image"
], ],
"properties": { "properties": {
"name": { "name": {
...@@ -6480,7 +6479,7 @@ ...@@ -6480,7 +6479,7 @@
}, },
"image": { "image": {
"type": "string", "type": "string",
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
}, },
"command": { "command": {
"type": "array", "type": "array",
......
...@@ -5708,8 +5708,8 @@ Both these may change in the future. Incoming requests are matched against the h ...@@ -5708,8 +5708,8 @@ Both these may change in the future. Incoming requests are matched against the h
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">image</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">Docker image name. More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a> This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
......
...@@ -441,6 +441,9 @@ message Container { ...@@ -441,6 +441,9 @@ message Container {
// Docker image name. // Docker image name.
// More info: https://kubernetes.io/docs/concepts/containers/images // More info: https://kubernetes.io/docs/concepts/containers/images
// This field is optional to allow higher level config management to default or override
// container images in workload controllers like Deployments and StatefulSets.
// +optional
optional string image = 2; optional string image = 2;
// Entrypoint array. Not executed within a shell. // Entrypoint array. Not executed within a shell.
......
...@@ -269,7 +269,7 @@ func (ConfigMapVolumeSource) SwaggerDoc() map[string]string { ...@@ -269,7 +269,7 @@ func (ConfigMapVolumeSource) SwaggerDoc() map[string]string {
var map_Container = map[string]string{ var map_Container = map[string]string{
"": "A single application container that you want to run within a pod.", "": "A single application container that you want to run within a pod.",
"name": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", "name": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.",
"image": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", "image": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.",
"command": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "command": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
"args": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "args": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
"workingDir": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "workingDir": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
......
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