From ac16d1b33ab629de2c514c1da9231e8398c10210 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Fri, 26 Jul 2024 21:13:49 -0400 Subject: [PATCH 1/3] add _module_providers --- version.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/version.tf b/version.tf index 4260d97..80ef5a8 100644 --- a/version.tf +++ b/version.tf @@ -1,4 +1,5 @@ locals { _module_name = "tfmod-eks-configuration" _module_version = "0.0.1" + _module_providers = ["helm", "kubernetes"] } From 9b059ffa06497fd21d3209cf328a91d94337f799 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Tue, 30 Jul 2024 15:30:15 -0400 Subject: [PATCH 2/3] fmt --- README.md | 3 ++- cluster_autoscaler.tf => cluster_autoscaler.tf.off | 0 version.tf | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) rename cluster_autoscaler.tf => cluster_autoscaler.tf.off (100%) diff --git a/README.md b/README.md index 2160a59..d09c11c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,8 @@ The cluster-autoscaler uses the kuberentes scheduling algorithm to appropriate s # CHANGELOG - +* 0.0.2 -- 2024-07-30 + - remove cluster-autoscaler (using karpenter) * 0.0.1 -- 2024-07-22 - updated version.tf to 0.0.1 - included module.images in depends on helm charts diff --git a/cluster_autoscaler.tf b/cluster_autoscaler.tf.off similarity index 100% rename from cluster_autoscaler.tf rename to cluster_autoscaler.tf.off diff --git a/version.tf b/version.tf index 80ef5a8..c7a6f55 100644 --- a/version.tf +++ b/version.tf @@ -1,5 +1,4 @@ locals { _module_name = "tfmod-eks-configuration" - _module_version = "0.0.1" - _module_providers = ["helm", "kubernetes"] + _module_version = "0.0.2" } From d72714d03f152bc4d810c9d6138d53d6abc78133 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Tue, 30 Jul 2024 16:46:30 -0400 Subject: [PATCH 3/3] fmt --- copy_images.tf | 22 +++++++++++----------- variables.tf | 26 +++++++++++++------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/copy_images.tf b/copy_images.tf index 764fc25..b3c0dcd 100644 --- a/copy_images.tf +++ b/copy_images.tf @@ -1,17 +1,17 @@ locals { - autoscaler_key = format("%v#%v", "cluster-autoscaler", var.cluster_autoscaler_tag) - kubectl_key = format("%v#%v", "kubectl", var.kubectl_image_tag) + # autoscaler_key = format("%v#%v", "cluster-autoscaler", var.cluster_autoscaler_tag) + kubectl_key = format("%v#%v", "kubectl", var.kubectl_image_tag) image_config = [ - { - enabled = true - dest_path = null - name = "cluster-autoscaler" - source_image = "autoscaling/cluster-autoscaler" - source_registry = "registry.k8s.io" - source_tag = null - tag = var.cluster_autoscaler_tag - }, + # { + # enabled = true + # dest_path = null + # name = "cluster-autoscaler" + # source_image = "autoscaling/cluster-autoscaler" + # source_registry = "registry.k8s.io" + # source_tag = null + # tag = var.cluster_autoscaler_tag + # }, { enabled = true dest_path = null diff --git a/variables.tf b/variables.tf index 496e5f5..24a07e5 100644 --- a/variables.tf +++ b/variables.tf @@ -63,17 +63,17 @@ variable "kubectl_image_tag" { default = "1.27.14" } -# helm add repo autoscaler "https://kubernetes.github.io/autoscaler" -# helm search repo -l autoscaler/cluster-autoscaler -variable "cluster_autoscaler_chart_version" { - description = "The helm chart of the cluster-autoscaler most closely matching the Kuberentes version. Review output of `helm add repo autoscaler 'https://kubernetes.github.io/autoscaler'` (if the repo hasn't been added previously) and `helm search repo -l autoscaler/cluster-autoscaler`" - type = string - default = "9.37.0" -} +# # helm add repo autoscaler "https://kubernetes.github.io/autoscaler" +# # helm search repo -l autoscaler/cluster-autoscaler +# variable "cluster_autoscaler_chart_version" { +# description = "The helm chart of the cluster-autoscaler most closely matching the Kuberentes version. Review output of `helm add repo autoscaler 'https://kubernetes.github.io/autoscaler'` (if the repo hasn't been added previously) and `helm search repo -l autoscaler/cluster-autoscaler`" +# type = string +# default = "9.37.0" +# } -# helm show values --version [cluster_autoscaler_chart_version] autoscaler/cluster-autoscaler | grep tag: -variable "cluster_autoscaler_tag" { - description = "Image tag of cluster-autoscaler associated with the cluster_autoscaler_chart_version helm chart. `helm show values --version [cluster_autoscaler_chart_version] autoscaler/cluster-autoscaler | grep tag:`" - type = string - default = "v1.30.0" -} +# # helm show values --version [cluster_autoscaler_chart_version] autoscaler/cluster-autoscaler | grep tag: +# variable "cluster_autoscaler_tag" { +# description = "Image tag of cluster-autoscaler associated with the cluster_autoscaler_chart_version helm chart. `helm show values --version [cluster_autoscaler_chart_version] autoscaler/cluster-autoscaler | grep tag:`" +# type = string +# default = "v1.30.0" +# }