Skip to content

Commit

Permalink
support AL_2023
Browse files Browse the repository at this point in the history
  • Loading branch information
pavansokkenagaraj committed Nov 4, 2024
1 parent 8010300 commit f83effd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
- AL2_x86_64
- AL2_x86_64_GPU
- AL2_ARM_64
- AL2023_x86_64_STANDARD
- AL2023_ARM_64_STANDARD
type: string
amiVersion:
description: AMIVersion defines the desired AMI release version. If
Expand Down Expand Up @@ -285,6 +287,8 @@ spec:
- AL2_x86_64
- AL2_x86_64_GPU
- AL2_ARM_64
- AL2023_x86_64_STANDARD
- AL2023_ARM_64_STANDARD
type: string
amiVersion:
description: AMIVersion defines the desired AMI release version. If
Expand Down Expand Up @@ -540,6 +544,8 @@ spec:
- AL2_x86_64
- AL2_x86_64_GPU
- AL2_ARM_64
- AL2023_x86_64_STANDARD
- AL2023_ARM_64_STANDARD
type: string
amiVersion:
description: AMIVersion defines the desired AMI release version. If
Expand Down
6 changes: 5 additions & 1 deletion exp/api/v1beta1/awsmanagedmachinepool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ const (
Al2x86_64GPU ManagedMachineAMIType = "AL2_x86_64_GPU"
// Al2Arm64 is the Arm AMI type.
Al2Arm64 ManagedMachineAMIType = "AL2_ARM_64"
// Al2023x86_64 is the AL2023 x86-64 AMI type.
Al2023x86_64 ManagedMachineAMIType = "AL2023_x86_64_STANDARD"
// Al2023Arm64 is the AL2023 Arm AMI type.
Al2023Arm64 ManagedMachineAMIType = "AL2023_ARM_64_STANDARD"
)

// ManagedMachinePoolCapacityType specifies the capacity type to be used for the managed MachinePool.
Expand Down Expand Up @@ -99,7 +103,7 @@ type AWSManagedMachinePoolSpec struct {
AMIVersion *string `json:"amiVersion,omitempty"`

// AMIType defines the AMI type
// +kubebuilder:validation:Enum:=AL2_x86_64;AL2_x86_64_GPU;AL2_ARM_64
// +kubebuilder:validation:Enum:=AL2_x86_64;AL2_x86_64_GPU;AL2_ARM_64;AL2023_x86_64_STANDARD;AL2023_ARM_64_STANDARD
// +kubebuilder:default:=AL2_x86_64
// +optional
AMIType *ManagedMachineAMIType `json:"amiType,omitempty"`
Expand Down
6 changes: 6 additions & 0 deletions spectro/generated/core-global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12558,6 +12558,8 @@ spec:
- AL2_x86_64
- AL2_x86_64_GPU
- AL2_ARM_64
- AL2023_x86_64_STANDARD
- AL2023_ARM_64_STANDARD
type: string
amiVersion:
description: AMIVersion defines the desired AMI release version. If
Expand Down Expand Up @@ -12780,6 +12782,8 @@ spec:
- AL2_x86_64
- AL2_x86_64_GPU
- AL2_ARM_64
- AL2023_x86_64_STANDARD
- AL2023_ARM_64_STANDARD
type: string
amiVersion:
description: AMIVersion defines the desired AMI release version. If
Expand Down Expand Up @@ -13035,6 +13039,8 @@ spec:
- AL2_x86_64
- AL2_x86_64_GPU
- AL2_ARM_64
- AL2023_x86_64_STANDARD
- AL2023_ARM_64_STANDARD
type: string
amiVersion:
description: AMIVersion defines the desired AMI release version. If
Expand Down

0 comments on commit f83effd

Please sign in to comment.