deprecate
This commit is contained in:
		
							parent
							
								
									64a815fe45
								
							
						
					
					
						commit
						cee4a0edaa
					
				|  | @ -227,6 +227,8 @@ spec: | ||||||
|     - jsonPath: .metadata.creationTimestamp |     - jsonPath: .metadata.creationTimestamp | ||||||
|       name: Age |       name: Age | ||||||
|       type: date |       type: date | ||||||
|  |     deprecated: true | ||||||
|  |     deprecationWarning: v1beta1 ProvisioningRequest is deprecated | ||||||
|     name: v1beta1 |     name: v1beta1 | ||||||
|     schema: |     schema: | ||||||
|       openAPIV3Schema: |       openAPIV3Schema: | ||||||
|  |  | ||||||
|  | @ -29,6 +29,7 @@ import ( | ||||||
| // +genclient
 | // +genclient
 | ||||||
| // +kubebuilder:storageversions
 | // +kubebuilder:storageversions
 | ||||||
| // +kubebuilder:resource:shortName=provreq;provreqs
 | // +kubebuilder:resource:shortName=provreq;provreqs
 | ||||||
|  | // +k8s:prerelease-lifecycle-gen=true
 | ||||||
| 
 | 
 | ||||||
| // ProvisioningRequest is a way to express additional capacity
 | // ProvisioningRequest is a way to express additional capacity
 | ||||||
| // that we would like to provision in the cluster. Cluster Autoscaler
 | // that we would like to provision in the cluster. Cluster Autoscaler
 | ||||||
|  | @ -38,6 +39,10 @@ import ( | ||||||
| // +kubebuilder:subresource:status
 | // +kubebuilder:subresource:status
 | ||||||
| // +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
 | // +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
 | ||||||
| // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
 | ||||||
|  | // +k8s:prerelease-lifecycle-gen:introduced=1.29.0
 | ||||||
|  | // +k8s:prerelease-lifecycle-gen:deprecated=1.35.0
 | ||||||
|  | // +k8s:prerelease-lifecycle-gen:replacement=autoscaling,v1,ProvisioningRequest
 | ||||||
|  | // +kubebuilder:deprecatedversion:warning=v1beta1 ProvisioningRequest is deprecated
 | ||||||
| type ProvisioningRequest struct { | type ProvisioningRequest struct { | ||||||
| 	metav1.TypeMeta `json:",inline"` | 	metav1.TypeMeta `json:",inline"` | ||||||
| 	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
 | 	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue