From 9506941fdd6426491e01b71c7fb4c6953af27058 Mon Sep 17 00:00:00 2001 From: Xi Bai Date: Fri, 11 Oct 2024 11:43:50 +0100 Subject: [PATCH] add support for EKS 1.29 --- cluster/data.tf | 18 +++++++++--------- cluster/terraform.tfvars | 2 +- cluster/variables.tf | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cluster/data.tf b/cluster/data.tf index 11c26f0..d2c32ac 100644 --- a/cluster/data.tf +++ b/cluster/data.tf @@ -1,6 +1,15 @@ locals { eks_core_versions = { + "1.29" : { + "cluster_version" = "1.29" + "cluster_addons" = { + "coredns" = "v1.11.1-eksbuild.4" + "kube_proxy" = "v1.29.0-eksbuild.2" + "vpc_cni" = "v1.16.4-eksbuild.2" + "ebs_csi_driver" = "v1.26.1-eksbuild.1" + } + }, "1.28" : { "cluster_version" = "1.28" "cluster_addons" = { @@ -27,15 +36,6 @@ locals { "vpc_cni" = "v1.12.2-eksbuild.1" "ebs_csi_driver" = "v1.17.0-eksbuild.1" } - }, - "1.25" : { - "cluster_version" = "1.25" - "cluster_addons" = { - "coredns" = "v1.9.3-eksbuild.2" - "kube_proxy" = "v1.25.6-eksbuild.1" - "vpc_cni" = "v1.12.2-eksbuild.1" - "ebs_csi_driver" = "v1.16.0-eksbuild.1" - } } } diff --git a/cluster/terraform.tfvars b/cluster/terraform.tfvars index c3bd698..7862fee 100644 --- a/cluster/terraform.tfvars +++ b/cluster/terraform.tfvars @@ -1,5 +1,5 @@ AWS_REGION = "eu-west-2" -eks_kubernetes_version = "1.28" +eks_kubernetes_version = "1.29" environment = "dev" eks_admins_group_users = [] defaut_storage_class = "radar-base-ebs-sc-gp2" diff --git a/cluster/variables.tf b/cluster/variables.tf index 7d710f4..c501d42 100644 --- a/cluster/variables.tf +++ b/cluster/variables.tf @@ -54,8 +54,8 @@ variable "eks_kubernetes_version" { default = "1.28" validation { - condition = contains(["1.28", "1.27", "1.26", "1.25"], var.eks_kubernetes_version) - error_message = "Invalid EKS Kubernetes version. Supported versions are '1.28', '1.27', '1.26', '1.25'." + condition = contains(["1.29", "1.28", "1.27", "1.26"], var.eks_kubernetes_version) + error_message = "Invalid EKS Kubernetes version. Supported versions are '1.29', '1.28', '1.27', '1.26'." } }