Skip to content

Commit aa5cf9d

Browse files
committed
Warning message shortened to less that 256 chars
1 parent f664f8b commit aa5cf9d

12 files changed

+12
-18
lines changed

api/v1beta1/azuremanagedcluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type AzureManagedClusterStatus struct {
4545
// +kubebuilder:resource:path=azuremanagedclusters,scope=Namespaced,categories=cluster-api,shortName=amc
4646
// +kubebuilder:storageversion
4747
// +kubebuilder:subresource:status
48-
// +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 will be removed in Dec 2025 (v1.23)."
48+
// +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."
4949

5050
// AzureManagedCluster is the Schema for the azuremanagedclusters API.
5151
type AzureManagedCluster struct {

api/v1beta1/azuremanagedclustertemplate_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type AzureManagedClusterTemplateSpec struct {
2828
// +kubebuilder:object:root=true
2929
// +kubebuilder:resource:path=azuremanagedclustertemplates,scope=Namespaced,categories=cluster-api,shortName=amct
3030
// +kubebuilder:storageversion
31-
// +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 will be removed in Dec 2025 (v1.23)."
31+
// +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."
3232

3333
// AzureManagedClusterTemplate is the Schema for the AzureManagedClusterTemplates API.
3434
type AzureManagedClusterTemplate struct {

api/v1beta1/azuremanagedcontrolplane_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ type AKSExtension struct {
661661
// +kubebuilder:resource:path=azuremanagedcontrolplanes,scope=Namespaced,categories=cluster-api,shortName=amcp
662662
// +kubebuilder:storageversion
663663
// +kubebuilder:subresource:status
664-
// +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 will be removed in Dec 2025 (v1.23)."
664+
// +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."
665665

666666
// AzureManagedControlPlane is the Schema for the azuremanagedcontrolplanes API.
667667
type AzureManagedControlPlane struct {

api/v1beta1/azuremanagedcontrolplanetemplate_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type AzureManagedControlPlaneTemplateSpec struct {
2828
// +kubebuilder:object:root=true
2929
// +kubebuilder:resource:path=azuremanagedcontrolplanetemplates,scope=Namespaced,categories=cluster-api,shortName=amcpt
3030
// +kubebuilder:storageversion
31-
// +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 will be removed in Dec 2025 (v1.23)."
31+
// +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."
3232

3333
// AzureManagedControlPlaneTemplate is the Schema for the AzureManagedControlPlaneTemplates API.
3434
type AzureManagedControlPlaneTemplate struct {

api/v1beta1/azuremanagedmachinepool_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ type AzureManagedMachinePoolStatus struct {
492492
// +kubebuilder:resource:path=azuremanagedmachinepools,scope=Namespaced,categories=cluster-api,shortName=ammp
493493
// +kubebuilder:storageversion
494494
// +kubebuilder:subresource:status
495-
// +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 will be removed in Dec 2025 (v1.23)."
495+
// +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."
496496

497497
// AzureManagedMachinePool is the Schema for the azuremanagedmachinepools API.
498498
type AzureManagedMachinePool struct {

api/v1beta1/azuremanagedmachinepooltemplate_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type AzureManagedMachinePoolTemplateSpec struct {
2828
// +kubebuilder:object:root=true
2929
// +kubebuilder:resource:path=azuremanagedmachinepooltemplates,scope=Namespaced,categories=cluster-api,shortName=ammpt
3030
// +kubebuilder:storageversion
31-
// +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 will be removed in Dec 2025 (v1.23)."
31+
// +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."
3232

3333
// AzureManagedMachinePoolTemplate is the Schema for the AzureManagedMachinePoolTemplates API.
3434
type AzureManagedMachinePoolTemplate struct {

config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclusters.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ spec:
3333
deprecated: true
3434
deprecationWarning: AzureManagedCluster and the AzureManaged API are deprecated.
3535
Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedCluster
36-
and related AzureASOManaged resources instead. AzureManagedCluster will be removed
37-
in Dec 2025 (v1.23).
36+
and related AzureASOManaged resources instead.
3837
name: v1beta1
3938
schema:
4039
openAPIV3Schema:

config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedclustertemplates.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ spec:
2121
- deprecated: true
2222
deprecationWarning: AzureManagedClusterTemplate and the AzureManaged API are deprecated.
2323
Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedClusterTemplate
24-
and related AzureASOManaged resources instead. AzureManagedClusterTemplate will
25-
be removed in Dec 2025 (v1.23).
24+
and related AzureASOManaged resources instead.
2625
name: v1beta1
2726
schema:
2827
openAPIV3Schema:

config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ spec:
4343
deprecated: true
4444
deprecationWarning: AzureManagedControlPlane and the AzureManaged API are deprecated.
4545
Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedControlPlane
46-
and related AzureASOManaged resources instead. AzureManagedControlPlane will
47-
be removed in Dec 2025 (v1.23).
46+
and related AzureASOManaged resources instead.
4847
name: v1beta1
4948
schema:
5049
openAPIV3Schema:

config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanetemplates.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ spec:
2121
- deprecated: true
2222
deprecationWarning: AzureManagedControlPlaneTemplate and the AzureManaged API
2323
are deprecated. Please migrate to infrastructure.cluster.x-k8s.io/v1beta1 AzureASOManagedControlPlaneTemplate
24-
and related AzureASOManaged resources instead. AzureManagedControlPlaneTemplate
25-
will be removed in Dec 2025 (v1.23).
24+
and related AzureASOManaged resources instead.
2625
name: v1beta1
2726
schema:
2827
openAPIV3Schema:

0 commit comments

Comments
 (0)