Fix list_type_missing in api/apps
This commit is contained in:
		| @@ -1,16 +1,3 @@ | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1,DaemonSetStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1,DeploymentStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1,ReplicaSetStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1,StatefulSetSpec,VolumeClaimTemplates | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1,StatefulSetStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1beta1,DeploymentStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1beta1,StatefulSetSpec,VolumeClaimTemplates | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1beta1,StatefulSetStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,DaemonSetStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,DeploymentStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,ReplicaSetStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,StatefulSetSpec,VolumeClaimTemplates | ||||
| API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,StatefulSetStatus,Conditions | ||||
| API rule violation: list_type_missing,k8s.io/api/authentication/v1,TokenRequestSpec,Audiences | ||||
| API rule violation: list_type_missing,k8s.io/api/authentication/v1,TokenReviewSpec,Audiences | ||||
| API rule violation: list_type_missing,k8s.io/api/authentication/v1,TokenReviewStatus,Audiences | ||||
|   | ||||
							
								
								
									
										19
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										19
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							| @@ -1740,6 +1740,10 @@ | ||||
|             "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetCondition" | ||||
|           }, | ||||
|           "type": "array", | ||||
|           "x-kubernetes-list-map-keys": [ | ||||
|             "type" | ||||
|           ], | ||||
|           "x-kubernetes-list-type": "map", | ||||
|           "x-kubernetes-patch-merge-key": "type", | ||||
|           "x-kubernetes-patch-strategy": "merge" | ||||
|         }, | ||||
| @@ -1974,6 +1978,10 @@ | ||||
|             "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentCondition" | ||||
|           }, | ||||
|           "type": "array", | ||||
|           "x-kubernetes-list-map-keys": [ | ||||
|             "type" | ||||
|           ], | ||||
|           "x-kubernetes-list-type": "map", | ||||
|           "x-kubernetes-patch-merge-key": "type", | ||||
|           "x-kubernetes-patch-strategy": "merge" | ||||
|         }, | ||||
| @@ -2158,6 +2166,10 @@ | ||||
|             "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetCondition" | ||||
|           }, | ||||
|           "type": "array", | ||||
|           "x-kubernetes-list-map-keys": [ | ||||
|             "type" | ||||
|           ], | ||||
|           "x-kubernetes-list-type": "map", | ||||
|           "x-kubernetes-patch-merge-key": "type", | ||||
|           "x-kubernetes-patch-strategy": "merge" | ||||
|         }, | ||||
| @@ -2404,7 +2416,8 @@ | ||||
|           "items": { | ||||
|             "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" | ||||
|           }, | ||||
|           "type": "array" | ||||
|           "type": "array", | ||||
|           "x-kubernetes-list-type": "atomic" | ||||
|         } | ||||
|       }, | ||||
|       "required": [ | ||||
| @@ -2433,6 +2446,10 @@ | ||||
|             "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetCondition" | ||||
|           }, | ||||
|           "type": "array", | ||||
|           "x-kubernetes-list-map-keys": [ | ||||
|             "type" | ||||
|           ], | ||||
|           "x-kubernetes-list-type": "map", | ||||
|           "x-kubernetes-patch-merge-key": "type", | ||||
|           "x-kubernetes-patch-strategy": "merge" | ||||
|         }, | ||||
|   | ||||
| @@ -287,6 +287,10 @@ | ||||
|               "default": {} | ||||
|             }, | ||||
|             "type": "array", | ||||
|             "x-kubernetes-list-map-keys": [ | ||||
|               "type" | ||||
|             ], | ||||
|             "x-kubernetes-list-type": "map", | ||||
|             "x-kubernetes-patch-merge-key": "type", | ||||
|             "x-kubernetes-patch-strategy": "merge" | ||||
|           }, | ||||
| @@ -583,6 +587,10 @@ | ||||
|               "default": {} | ||||
|             }, | ||||
|             "type": "array", | ||||
|             "x-kubernetes-list-map-keys": [ | ||||
|               "type" | ||||
|             ], | ||||
|             "x-kubernetes-list-type": "map", | ||||
|             "x-kubernetes-patch-merge-key": "type", | ||||
|             "x-kubernetes-patch-strategy": "merge" | ||||
|           }, | ||||
| @@ -816,6 +824,10 @@ | ||||
|               "default": {} | ||||
|             }, | ||||
|             "type": "array", | ||||
|             "x-kubernetes-list-map-keys": [ | ||||
|               "type" | ||||
|             ], | ||||
|             "x-kubernetes-list-type": "map", | ||||
|             "x-kubernetes-patch-merge-key": "type", | ||||
|             "x-kubernetes-patch-strategy": "merge" | ||||
|           }, | ||||
| @@ -1143,7 +1155,8 @@ | ||||
|               ], | ||||
|               "default": {} | ||||
|             }, | ||||
|             "type": "array" | ||||
|             "type": "array", | ||||
|             "x-kubernetes-list-type": "atomic" | ||||
|           } | ||||
|         }, | ||||
|         "required": [ | ||||
| @@ -1178,6 +1191,10 @@ | ||||
|               "default": {} | ||||
|             }, | ||||
|             "type": "array", | ||||
|             "x-kubernetes-list-map-keys": [ | ||||
|               "type" | ||||
|             ], | ||||
|             "x-kubernetes-list-type": "map", | ||||
|             "x-kubernetes-patch-merge-key": "type", | ||||
|             "x-kubernetes-patch-strategy": "merge" | ||||
|           }, | ||||
|   | ||||
							
								
								
									
										55
									
								
								pkg/generated/openapi/zz_generated.openapi.go
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										55
									
								
								pkg/generated/openapi/zz_generated.openapi.go
									
									
									
										generated
									
									
									
								
							| @@ -5389,6 +5389,10 @@ func schema_k8sio_api_apps_v1_DaemonSetStatus(ref common.ReferenceCallback) comm | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
| @@ -5731,6 +5735,10 @@ func schema_k8sio_api_apps_v1_DeploymentStatus(ref common.ReferenceCallback) com | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
| @@ -6034,6 +6042,10 @@ func schema_k8sio_api_apps_v1_ReplicaSetStatus(ref common.ReferenceCallback) com | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
| @@ -6371,6 +6383,11 @@ func schema_k8sio_api_apps_v1_StatefulSetSpec(ref common.ReferenceCallback) comm | ||||
| 						}, | ||||
| 					}, | ||||
| 					"volumeClaimTemplates": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-type": "atomic", | ||||
| 							}, | ||||
| 						}, | ||||
| 						SchemaProps: spec.SchemaProps{ | ||||
| 							Description: "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", | ||||
| 							Type:        []string{"array"}, | ||||
| @@ -6509,6 +6526,10 @@ func schema_k8sio_api_apps_v1_StatefulSetStatus(ref common.ReferenceCallback) co | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
| @@ -7028,6 +7049,10 @@ func schema_k8sio_api_apps_v1beta1_DeploymentStatus(ref common.ReferenceCallback | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
| @@ -7504,6 +7529,11 @@ func schema_k8sio_api_apps_v1beta1_StatefulSetSpec(ref common.ReferenceCallback) | ||||
| 						}, | ||||
| 					}, | ||||
| 					"volumeClaimTemplates": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-type": "atomic", | ||||
| 							}, | ||||
| 						}, | ||||
| 						SchemaProps: spec.SchemaProps{ | ||||
| 							Description: "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", | ||||
| 							Type:        []string{"array"}, | ||||
| @@ -7641,6 +7671,10 @@ func schema_k8sio_api_apps_v1beta1_StatefulSetStatus(ref common.ReferenceCallbac | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
| @@ -8085,6 +8119,10 @@ func schema_k8sio_api_apps_v1beta2_DaemonSetStatus(ref common.ReferenceCallback) | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
| @@ -8426,6 +8464,10 @@ func schema_k8sio_api_apps_v1beta2_DeploymentStatus(ref common.ReferenceCallback | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
| @@ -8728,6 +8770,10 @@ func schema_k8sio_api_apps_v1beta2_ReplicaSetStatus(ref common.ReferenceCallback | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
| @@ -9182,6 +9228,11 @@ func schema_k8sio_api_apps_v1beta2_StatefulSetSpec(ref common.ReferenceCallback) | ||||
| 						}, | ||||
| 					}, | ||||
| 					"volumeClaimTemplates": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-type": "atomic", | ||||
| 							}, | ||||
| 						}, | ||||
| 						SchemaProps: spec.SchemaProps{ | ||||
| 							Description: "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", | ||||
| 							Type:        []string{"array"}, | ||||
| @@ -9319,6 +9370,10 @@ func schema_k8sio_api_apps_v1beta2_StatefulSetStatus(ref common.ReferenceCallbac | ||||
| 					"conditions": { | ||||
| 						VendorExtensible: spec.VendorExtensible{ | ||||
| 							Extensions: spec.Extensions{ | ||||
| 								"x-kubernetes-list-map-keys": []interface{}{ | ||||
| 									"type", | ||||
| 								}, | ||||
| 								"x-kubernetes-list-type":       "map", | ||||
| 								"x-kubernetes-patch-merge-key": "type", | ||||
| 								"x-kubernetes-patch-strategy":  "merge", | ||||
| 							}, | ||||
|   | ||||
| @@ -200,6 +200,8 @@ message DaemonSetStatus { | ||||
|   // +optional | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated DaemonSetCondition conditions = 10; | ||||
| } | ||||
|  | ||||
| @@ -341,6 +343,8 @@ message DeploymentStatus { | ||||
|   // Represents the latest available observations of a deployment's current state. | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated DeploymentCondition conditions = 6; | ||||
|  | ||||
|   // Count of hash collisions for the Deployment. The Deployment controller uses this | ||||
| @@ -475,6 +479,8 @@ message ReplicaSetStatus { | ||||
|   // +optional | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated ReplicaSetCondition conditions = 6; | ||||
| } | ||||
|  | ||||
| @@ -688,6 +694,7 @@ message StatefulSetSpec { | ||||
|   // any volumes in the template, with the same name. | ||||
|   // TODO: Define the behavior if a claim already exists with the same name. | ||||
|   // +optional | ||||
|   // +listType=atomic | ||||
|   repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4; | ||||
|  | ||||
|   // serviceName is the name of the service that governs this StatefulSet. | ||||
| @@ -782,6 +789,8 @@ message StatefulSetStatus { | ||||
|   // +optional | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated StatefulSetCondition conditions = 10; | ||||
|  | ||||
|   // Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. | ||||
|   | ||||
| @@ -211,6 +211,7 @@ type StatefulSetSpec struct { | ||||
| 	// any volumes in the template, with the same name. | ||||
| 	// TODO: Define the behavior if a claim already exists with the same name. | ||||
| 	// +optional | ||||
| 	// +listType=atomic | ||||
| 	VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"` | ||||
|  | ||||
| 	// serviceName is the name of the service that governs this StatefulSet. | ||||
| @@ -305,6 +306,8 @@ type StatefulSetStatus struct { | ||||
| 	// +optional | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"` | ||||
|  | ||||
| 	// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. | ||||
| @@ -507,6 +510,8 @@ type DeploymentStatus struct { | ||||
| 	// Represents the latest available observations of a deployment's current state. | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"` | ||||
|  | ||||
| 	// Count of hash collisions for the Deployment. The Deployment controller uses this | ||||
| @@ -714,6 +719,8 @@ type DaemonSetStatus struct { | ||||
| 	// +optional | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"` | ||||
| } | ||||
|  | ||||
| @@ -884,6 +891,8 @@ type ReplicaSetStatus struct { | ||||
| 	// +optional | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"` | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -208,6 +208,8 @@ message DeploymentStatus { | ||||
|   // Conditions represent the latest available observations of a deployment's current state. | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated DeploymentCondition conditions = 6; | ||||
|  | ||||
|   // collisionCount is the count of hash collisions for the Deployment. The Deployment controller uses this | ||||
| @@ -445,6 +447,7 @@ message StatefulSetSpec { | ||||
|   // any volumes in the template, with the same name. | ||||
|   // TODO: Define the behavior if a claim already exists with the same name. | ||||
|   // +optional | ||||
|   // +listType=atomic | ||||
|   repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4; | ||||
|  | ||||
|   // serviceName is the name of the service that governs this StatefulSet. | ||||
| @@ -536,6 +539,8 @@ message StatefulSetStatus { | ||||
|   // +optional | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated StatefulSetCondition conditions = 10; | ||||
|  | ||||
|   // availableReplicas is the total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. | ||||
|   | ||||
| @@ -251,6 +251,7 @@ type StatefulSetSpec struct { | ||||
| 	// any volumes in the template, with the same name. | ||||
| 	// TODO: Define the behavior if a claim already exists with the same name. | ||||
| 	// +optional | ||||
| 	// +listType=atomic | ||||
| 	VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"` | ||||
|  | ||||
| 	// serviceName is the name of the service that governs this StatefulSet. | ||||
| @@ -342,6 +343,8 @@ type StatefulSetStatus struct { | ||||
| 	// +optional | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"` | ||||
|  | ||||
| 	// availableReplicas is the total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. | ||||
| @@ -577,6 +580,8 @@ type DeploymentStatus struct { | ||||
| 	// Conditions represent the latest available observations of a deployment's current state. | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"` | ||||
|  | ||||
| 	// collisionCount is the count of hash collisions for the Deployment. The Deployment controller uses this | ||||
|   | ||||
| @@ -204,6 +204,8 @@ message DaemonSetStatus { | ||||
|   // +optional | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated DaemonSetCondition conditions = 10; | ||||
| } | ||||
|  | ||||
| @@ -346,6 +348,8 @@ message DeploymentStatus { | ||||
|   // Represents the latest available observations of a deployment's current state. | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated DeploymentCondition conditions = 6; | ||||
|  | ||||
|   // Count of hash collisions for the Deployment. The Deployment controller uses this | ||||
| @@ -481,6 +485,8 @@ message ReplicaSetStatus { | ||||
|   // +optional | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated ReplicaSetCondition conditions = 6; | ||||
| } | ||||
|  | ||||
| @@ -733,6 +739,7 @@ message StatefulSetSpec { | ||||
|   // any volumes in the template, with the same name. | ||||
|   // TODO: Define the behavior if a claim already exists with the same name. | ||||
|   // +optional | ||||
|   // +listType=atomic | ||||
|   repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4; | ||||
|  | ||||
|   // serviceName is the name of the service that governs this StatefulSet. | ||||
| @@ -824,6 +831,8 @@ message StatefulSetStatus { | ||||
|   // +optional | ||||
|   // +patchMergeKey=type | ||||
|   // +patchStrategy=merge | ||||
|   // +listType=map | ||||
|   // +listMapKey=type | ||||
|   repeated StatefulSetCondition conditions = 10; | ||||
|  | ||||
|   // Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. | ||||
|   | ||||
| @@ -261,6 +261,7 @@ type StatefulSetSpec struct { | ||||
| 	// any volumes in the template, with the same name. | ||||
| 	// TODO: Define the behavior if a claim already exists with the same name. | ||||
| 	// +optional | ||||
| 	// +listType=atomic | ||||
| 	VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"` | ||||
|  | ||||
| 	// serviceName is the name of the service that governs this StatefulSet. | ||||
| @@ -352,6 +353,8 @@ type StatefulSetStatus struct { | ||||
| 	// +optional | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"` | ||||
|  | ||||
| 	// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. | ||||
| @@ -555,6 +558,8 @@ type DeploymentStatus struct { | ||||
| 	// Represents the latest available observations of a deployment's current state. | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"` | ||||
|  | ||||
| 	// Count of hash collisions for the Deployment. The Deployment controller uses this | ||||
| @@ -765,6 +770,8 @@ type DaemonSetStatus struct { | ||||
| 	// +optional | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"` | ||||
| } | ||||
|  | ||||
| @@ -951,6 +958,8 @@ type ReplicaSetStatus struct { | ||||
| 	// +optional | ||||
| 	// +patchMergeKey=type | ||||
| 	// +patchStrategy=merge | ||||
| 	// +listType=map | ||||
| 	// +listMapKey=type | ||||
| 	Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"` | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tim Hockin
					Tim Hockin