Skip to content

Commit afa49b9

Browse files
committed
Mark InstanceType field as deprecated with kubebuilder annotation
1 parent 71efb58 commit afa49b9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ spec:
933933
instanceType:
934934
description: |-
935935
InstanceType specifies the AWS instance type.
936-
This field is deprecated. Use InstanceTypes instead.
936+
Deprecated: Use InstanceTypes instead.
937937
type: string
938938
instanceTypes:
939939
description: |-

exp/api/v1beta2/awsmanagedmachinepool_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ type AWSManagedMachinePoolSpec struct {
177177
DiskSize *int32 `json:"diskSize,omitempty"`
178178

179179
// InstanceType specifies the AWS instance type.
180-
// This field is deprecated. Use InstanceTypes instead.
180+
// Deprecated: Use InstanceTypes instead.
181181
// +optional
182+
// +kubebuilder:validation:Deprecated
182183
InstanceType *string `json:"instanceType,omitempty"`
183184

184185
// InstanceTypes specifies a list of AWS instance types for the node group.

0 commit comments

Comments
 (0)