Skip to content

Commit

Permalink
Merge pull request #26 from RADAR-base/k8s-1-29
Browse files Browse the repository at this point in the history
Add support for EKS 1.29
  • Loading branch information
baixiac authored Dec 6, 2024
2 parents f31d567 + 9506941 commit fb8cca7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions cluster/data.tf
Original file line number Diff line number Diff line change
@@ -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" = {
Expand All @@ -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"
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion cluster/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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'."
}
}

Expand Down

0 comments on commit fb8cca7

Please sign in to comment.