Skip to content

Commit

Permalink
feat: added EKS K8s 1.23 support
Browse files Browse the repository at this point in the history
  • Loading branch information
akijakya committed Aug 26, 2022
1 parent a563d5c commit 0454af1
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 205 deletions.
1 change: 1 addition & 0 deletions docs/generate-eks-image-list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ K8S_VERSIONS=(
"1.20"
"1.21"
"1.22"
"1.23"
)

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.22")
constraint, err := semver.NewConstraint(">= 1.19, <= 1.23")
if err != nil {
return false, errors.WrapIf(err, "couldn't create semver Kubernetes version check constraint")
}
Expand Down
Loading

0 comments on commit 0454af1

Please sign in to comment.