mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	DRA: Fix ResourceClaimTemplateSpec comment
ObjectMeta for the ResourceClaimTemplateSpec are copied into ResourceClaim not PVC. Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
This commit is contained in:
		
							
								
								
									
										2
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							| @@ -15961,7 +15961,7 @@ | ||||
|       "properties": { | ||||
|         "metadata": { | ||||
|           "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", | ||||
|           "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." | ||||
|           "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation." | ||||
|         }, | ||||
|         "spec": { | ||||
|           "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimSpec", | ||||
|   | ||||
| @@ -1042,7 +1042,7 @@ | ||||
|               } | ||||
|             ], | ||||
|             "default": {}, | ||||
|             "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." | ||||
|             "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation." | ||||
|           }, | ||||
|           "spec": { | ||||
|             "allOf": [ | ||||
|   | ||||
| @@ -1005,7 +1005,7 @@ type ResourceClaimTemplate struct { | ||||
|  | ||||
| // ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. | ||||
| type ResourceClaimTemplateSpec struct { | ||||
| 	// ObjectMeta may contain labels and annotations that will be copied into the PVC | ||||
| 	// ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim | ||||
| 	// when creating it. No other fields are allowed and will be rejected during | ||||
| 	// validation. | ||||
| 	// +optional | ||||
|   | ||||
							
								
								
									
										2
									
								
								pkg/generated/openapi/zz_generated.openapi.go
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								pkg/generated/openapi/zz_generated.openapi.go
									
									
									
										generated
									
									
									
								
							| @@ -47187,7 +47187,7 @@ func schema_k8sio_api_resource_v1alpha3_ResourceClaimTemplateSpec(ref common.Ref | ||||
| 				Properties: map[string]spec.Schema{ | ||||
| 					"metadata": { | ||||
| 						SchemaProps: spec.SchemaProps{ | ||||
| 							Description: "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.", | ||||
| 							Description: "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.", | ||||
| 							Default:     map[string]interface{}{}, | ||||
| 							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), | ||||
| 						}, | ||||
|   | ||||
| @@ -755,7 +755,7 @@ message ResourceClaimTemplateList { | ||||
|  | ||||
| // ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. | ||||
| message ResourceClaimTemplateSpec { | ||||
|   // ObjectMeta may contain labels and annotations that will be copied into the PVC | ||||
|   // ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim | ||||
|   // when creating it. No other fields are allowed and will be rejected during | ||||
|   // validation. | ||||
|   // +optional | ||||
|   | ||||
| @@ -1021,7 +1021,7 @@ type ResourceClaimTemplate struct { | ||||
|  | ||||
| // ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. | ||||
| type ResourceClaimTemplateSpec struct { | ||||
| 	// ObjectMeta may contain labels and annotations that will be copied into the PVC | ||||
| 	// ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim | ||||
| 	// when creating it. No other fields are allowed and will be rejected during | ||||
| 	// validation. | ||||
| 	// +optional | ||||
|   | ||||
| @@ -348,7 +348,7 @@ func (ResourceClaimTemplateList) SwaggerDoc() map[string]string { | ||||
|  | ||||
| var map_ResourceClaimTemplateSpec = map[string]string{ | ||||
| 	"":         "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", | ||||
| 	"metadata": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.", | ||||
| 	"metadata": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.", | ||||
| 	"spec":     "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.", | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lionel Jouin
					Lionel Jouin