mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Fix description of Ports in PodSpec
This commit is contained in:
		
							
								
								
									
										2
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							@@ -4851,7 +4851,7 @@
 | 
				
			|||||||
          "type": "string"
 | 
					          "type": "string"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "ports": {
 | 
					        "ports": {
 | 
				
			||||||
          "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
 | 
					          "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.",
 | 
				
			||||||
          "items": {
 | 
					          "items": {
 | 
				
			||||||
            "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort"
 | 
					            "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1117,7 +1117,7 @@
 | 
				
			|||||||
            "type": "string"
 | 
					            "type": "string"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "ports": {
 | 
					          "ports": {
 | 
				
			||||||
            "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
 | 
					            "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.",
 | 
				
			||||||
            "items": {
 | 
					            "items": {
 | 
				
			||||||
              "allOf": [
 | 
					              "allOf": [
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1720,7 +1720,7 @@
 | 
				
			|||||||
            "type": "string"
 | 
					            "type": "string"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "ports": {
 | 
					          "ports": {
 | 
				
			||||||
            "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
 | 
					            "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.",
 | 
				
			||||||
            "items": {
 | 
					            "items": {
 | 
				
			||||||
              "allOf": [
 | 
					              "allOf": [
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -916,7 +916,7 @@
 | 
				
			|||||||
            "type": "string"
 | 
					            "type": "string"
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "ports": {
 | 
					          "ports": {
 | 
				
			||||||
            "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
 | 
					            "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.",
 | 
				
			||||||
            "items": {
 | 
					            "items": {
 | 
				
			||||||
              "allOf": [
 | 
					              "allOf": [
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								pkg/generated/openapi/zz_generated.openapi.go
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								pkg/generated/openapi/zz_generated.openapi.go
									
									
									
										generated
									
									
									
								
							@@ -15739,7 +15739,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope
 | 
				
			|||||||
							},
 | 
												},
 | 
				
			||||||
						},
 | 
											},
 | 
				
			||||||
						SchemaProps: spec.SchemaProps{
 | 
											SchemaProps: spec.SchemaProps{
 | 
				
			||||||
							Description: "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
 | 
												Description: "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.",
 | 
				
			||||||
							Type:        []string{"array"},
 | 
												Type:        []string{"array"},
 | 
				
			||||||
							Items: &spec.SchemaOrArray{
 | 
												Items: &spec.SchemaOrArray{
 | 
				
			||||||
								Schema: &spec.Schema{
 | 
													Schema: &spec.Schema{
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -656,12 +656,12 @@ message Container {
 | 
				
			|||||||
  // +optional
 | 
					  // +optional
 | 
				
			||||||
  optional string workingDir = 5;
 | 
					  optional string workingDir = 5;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // List of ports to expose from the container. Exposing a port here gives
 | 
					  // List of ports to expose from the container. Not specifying a port here
 | 
				
			||||||
  // the system additional information about the network connections a
 | 
					 | 
				
			||||||
  // container uses, but is primarily informational. Not specifying a port here
 | 
					 | 
				
			||||||
  // DOES NOT prevent that port from being exposed. Any port which is
 | 
					  // DOES NOT prevent that port from being exposed. Any port which is
 | 
				
			||||||
  // listening on the default "0.0.0.0" address inside a container will be
 | 
					  // listening on the default "0.0.0.0" address inside a container will be
 | 
				
			||||||
  // accessible from the network.
 | 
					  // accessible from the network.
 | 
				
			||||||
 | 
					  // Modifying this array with strategic merge patch may corrupt the data.
 | 
				
			||||||
 | 
					  // For more information See https://github.com/kubernetes/kubernetes/issues/108255.
 | 
				
			||||||
  // Cannot be updated.
 | 
					  // Cannot be updated.
 | 
				
			||||||
  // +optional
 | 
					  // +optional
 | 
				
			||||||
  // +patchMergeKey=containerPort
 | 
					  // +patchMergeKey=containerPort
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2333,12 +2333,12 @@ type Container struct {
 | 
				
			|||||||
	// Cannot be updated.
 | 
						// Cannot be updated.
 | 
				
			||||||
	// +optional
 | 
						// +optional
 | 
				
			||||||
	WorkingDir string `json:"workingDir,omitempty" protobuf:"bytes,5,opt,name=workingDir"`
 | 
						WorkingDir string `json:"workingDir,omitempty" protobuf:"bytes,5,opt,name=workingDir"`
 | 
				
			||||||
	// List of ports to expose from the container. Exposing a port here gives
 | 
						// List of ports to expose from the container. Not specifying a port here
 | 
				
			||||||
	// the system additional information about the network connections a
 | 
					 | 
				
			||||||
	// container uses, but is primarily informational. Not specifying a port here
 | 
					 | 
				
			||||||
	// DOES NOT prevent that port from being exposed. Any port which is
 | 
						// DOES NOT prevent that port from being exposed. Any port which is
 | 
				
			||||||
	// listening on the default "0.0.0.0" address inside a container will be
 | 
						// listening on the default "0.0.0.0" address inside a container will be
 | 
				
			||||||
	// accessible from the network.
 | 
						// accessible from the network.
 | 
				
			||||||
 | 
						// Modifying this array with strategic merge patch may corrupt the data.
 | 
				
			||||||
 | 
						// For more information See https://github.com/kubernetes/kubernetes/issues/108255.
 | 
				
			||||||
	// Cannot be updated.
 | 
						// Cannot be updated.
 | 
				
			||||||
	// +optional
 | 
						// +optional
 | 
				
			||||||
	// +patchMergeKey=containerPort
 | 
						// +patchMergeKey=containerPort
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -332,7 +332,7 @@ var map_Container = map[string]string{
 | 
				
			|||||||
	"command":                  "Entrypoint array. Not executed within a shell. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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 container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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 container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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 container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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.",
 | 
				
			||||||
	"ports":                    "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
 | 
						"ports":                    "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.",
 | 
				
			||||||
	"envFrom":                  "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
 | 
						"envFrom":                  "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
 | 
				
			||||||
	"env":                      "List of environment variables to set in the container. Cannot be updated.",
 | 
						"env":                      "List of environment variables to set in the container. Cannot be updated.",
 | 
				
			||||||
	"resources":                "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
 | 
						"resources":                "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user