diff --git a/api/v1beta1/azuremanagedcluster_types.go b/api/v1beta1/azuremanagedcluster_types.go index 4ec95d635eb..5a405633876 100644 --- a/api/v1beta1/azuremanagedcluster_types.go +++ b/api/v1beta1/azuremanagedcluster_types.go @@ -45,6 +45,7 @@ type AzureManagedClusterStatus struct { // +kubebuilder:resource:path=azuremanagedclusters,scope=Namespaced,categories=cluster-api,shortName=amc // +kubebuilder:storageversion // +kubebuilder:subresource:status +// +kubebuilder:deprecatedversion:warning="AzureManagedCluster and the AzureManaged API are deprecated. Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedCluster and related AzureASOManaged resources instead." // AzureManagedCluster is the Schema for the azuremanagedclusters API. type AzureManagedCluster struct { diff --git a/api/v1beta1/azuremanagedclustertemplate_types.go b/api/v1beta1/azuremanagedclustertemplate_types.go index c26afc7f93d..7aedf8b0e60 100644 --- a/api/v1beta1/azuremanagedclustertemplate_types.go +++ b/api/v1beta1/azuremanagedclustertemplate_types.go @@ -28,6 +28,7 @@ type AzureManagedClusterTemplateSpec struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=azuremanagedclustertemplates,scope=Namespaced,categories=cluster-api,shortName=amct // +kubebuilder:storageversion +// +kubebuilder:deprecatedversion:warning="AzureManagedClusterTemplate and the AzureManaged API are deprecated. Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedClusterTemplate and related AzureASOManaged resources instead." // AzureManagedClusterTemplate is the Schema for the AzureManagedClusterTemplates API. type AzureManagedClusterTemplate struct { diff --git a/api/v1beta1/azuremanagedcontrolplane_types.go b/api/v1beta1/azuremanagedcontrolplane_types.go index 5be9d561270..ac0d4336981 100644 --- a/api/v1beta1/azuremanagedcontrolplane_types.go +++ b/api/v1beta1/azuremanagedcontrolplane_types.go @@ -661,6 +661,7 @@ type AKSExtension struct { // +kubebuilder:resource:path=azuremanagedcontrolplanes,scope=Namespaced,categories=cluster-api,shortName=amcp // +kubebuilder:storageversion // +kubebuilder:subresource:status +// +kubebuilder:deprecatedversion:warning="AzureManagedControlPlane and the AzureManaged API are deprecated. Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedControlPlane and related AzureASOManaged resources instead." // AzureManagedControlPlane is the Schema for the azuremanagedcontrolplanes API. type AzureManagedControlPlane struct { diff --git a/api/v1beta1/azuremanagedcontrolplanetemplate_types.go b/api/v1beta1/azuremanagedcontrolplanetemplate_types.go index 21ec160b42a..b722493b0c9 100644 --- a/api/v1beta1/azuremanagedcontrolplanetemplate_types.go +++ b/api/v1beta1/azuremanagedcontrolplanetemplate_types.go @@ -28,6 +28,7 @@ type AzureManagedControlPlaneTemplateSpec struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=azuremanagedcontrolplanetemplates,scope=Namespaced,categories=cluster-api,shortName=amcpt // +kubebuilder:storageversion +// +kubebuilder:deprecatedversion:warning="AzureManagedControlPlaneTemplate and the AzureManaged API are deprecated. Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedControlPlaneTemplate and related AzureASOManaged resources instead." // AzureManagedControlPlaneTemplate is the Schema for the AzureManagedControlPlaneTemplates API. type AzureManagedControlPlaneTemplate struct { diff --git a/api/v1beta1/azuremanagedmachinepool_types.go b/api/v1beta1/azuremanagedmachinepool_types.go index 077cfb01344..166dbb77953 100644 --- a/api/v1beta1/azuremanagedmachinepool_types.go +++ b/api/v1beta1/azuremanagedmachinepool_types.go @@ -492,6 +492,7 @@ type AzureManagedMachinePoolStatus struct { // +kubebuilder:resource:path=azuremanagedmachinepools,scope=Namespaced,categories=cluster-api,shortName=ammp // +kubebuilder:storageversion // +kubebuilder:subresource:status +// +kubebuilder:deprecatedversion:warning="AzureManagedMachinePool and the AzureManaged API are deprecated. Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedMachinePool and related AzureASOManaged resources instead." // AzureManagedMachinePool is the Schema for the azuremanagedmachinepools API. type AzureManagedMachinePool struct { diff --git a/api/v1beta1/azuremanagedmachinepooltemplate_types.go b/api/v1beta1/azuremanagedmachinepooltemplate_types.go index 7cf3f3e66b0..7a8bf432877 100644 --- a/api/v1beta1/azuremanagedmachinepooltemplate_types.go +++ b/api/v1beta1/azuremanagedmachinepooltemplate_types.go @@ -28,6 +28,7 @@ type AzureManagedMachinePoolTemplateSpec struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=azuremanagedmachinepooltemplates,scope=Namespaced,categories=cluster-api,shortName=ammpt // +kubebuilder:storageversion +// +kubebuilder:deprecatedversion:warning="AzureManagedMachinePoolTemplate and the AzureManaged API are deprecated. Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedMachinePoolTemplate and related AzureASOManaged resources instead." // AzureManagedMachinePoolTemplate is the Schema for the AzureManagedMachinePoolTemplates API. type AzureManagedMachinePoolTemplate struct { diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclusters.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclusters.yaml index a4183813ee9..2eb92caf68a 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclusters.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclusters.yaml @@ -30,6 +30,10 @@ spec: jsonPath: .metadata.creationTimestamp name: Age type: date + deprecated: true + deprecationWarning: AzureManagedCluster and the AzureManaged API are deprecated. + Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedCluster + and related AzureASOManaged resources instead. name: v1beta1 schema: openAPIV3Schema: diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclustertemplates.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclustertemplates.yaml index 1805be90632..9833b373530 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclustertemplates.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclustertemplates.yaml @@ -18,7 +18,11 @@ spec: singular: azuremanagedclustertemplate scope: Namespaced versions: - - name: v1beta1 + - deprecated: true + deprecationWarning: AzureManagedClusterTemplate and the AzureManaged API are deprecated. + Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedClusterTemplate + and related AzureASOManaged resources instead. + name: v1beta1 schema: openAPIV3Schema: description: AzureManagedClusterTemplate is the Schema for the AzureManagedClusterTemplates diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml index 46ec38befa0..b6c7fee62ab 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml @@ -40,6 +40,10 @@ spec: jsonPath: .metadata.creationTimestamp name: Age type: date + deprecated: true + deprecationWarning: AzureManagedControlPlane and the AzureManaged API are deprecated. + Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedControlPlane + and related AzureASOManaged resources instead. name: v1beta1 schema: openAPIV3Schema: diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanetemplates.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanetemplates.yaml index fd3388604c5..968f64e8dfd 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanetemplates.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanetemplates.yaml @@ -18,7 +18,11 @@ spec: singular: azuremanagedcontrolplanetemplate scope: Namespaced versions: - - name: v1beta1 + - deprecated: true + deprecationWarning: AzureManagedControlPlaneTemplate and the AzureManaged API + are deprecated. Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedControlPlaneTemplate + and related AzureASOManaged resources instead. + name: v1beta1 schema: openAPIV3Schema: description: AzureManagedControlPlaneTemplate is the Schema for the AzureManagedControlPlaneTemplates diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml index 863bf84577f..05c3b2662c4 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepools.yaml @@ -43,6 +43,10 @@ spec: - jsonPath: .spec.mode name: Mode type: string + deprecated: true + deprecationWarning: AzureManagedMachinePool and the AzureManaged API are deprecated. + Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedMachinePool + and related AzureASOManaged resources instead. name: v1beta1 schema: openAPIV3Schema: diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepooltemplates.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepooltemplates.yaml index 1d845652a8a..71854d2bd7e 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepooltemplates.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedmachinepooltemplates.yaml @@ -18,7 +18,11 @@ spec: singular: azuremanagedmachinepooltemplate scope: Namespaced versions: - - name: v1beta1 + - deprecated: true + deprecationWarning: AzureManagedMachinePoolTemplate and the AzureManaged API are + deprecated. Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedMachinePoolTemplate + and related AzureASOManaged resources instead. + name: v1beta1 schema: openAPIV3Schema: description: AzureManagedMachinePoolTemplate is the Schema for the AzureManagedMachinePoolTemplates