Skip to content

Commit

Permalink
merge(#3654): added EKS 1.24, removed EKS 1.19-20 support
Browse files Browse the repository at this point in the history
  • Loading branch information
akijakya authored Jan 9, 2023
2 parents 86950a5 + d61a96a commit 4a10fe9
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 288 deletions.
3 changes: 1 addition & 2 deletions docs/generate-eks-image-list.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#bash

K8S_VERSIONS=(
"1.19"
"1.20"
"1.21"
"1.22"
"1.23"
"1.24"
)

AWS_REGIONS=$(aws ec2 describe-regions --output text | cut -f4 | sort -V)
Expand Down
2 changes: 1 addition & 1 deletion internal/cluster/distribution/eks/ekscluster/eks.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (eks *UpdateClusterAmazonEKS) Validate() error {

// isValidVersion validates the given K8S version
func isValidVersion(version string) (bool, error) {
constraint, err := semver.NewConstraint(">= 1.19, <= 1.23")
constraint, err := semver.NewConstraint(">= 1.21, <= 1.24")
if err != nil {
return false, errors.WrapIf(err, "couldn't create semver Kubernetes version check constraint")
}
Expand Down
Loading

0 comments on commit 4a10fe9

Please sign in to comment.