From f3618215039812823e40b4e65f34baa3f5f9f3f9 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Tue, 30 Jul 2024 17:49:28 -0400 Subject: [PATCH] remove commented code --- README.md | 4 ++-- main.tf | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d09c11c..3204e54 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ The module configures an eks cluster with additional components after the cluste When selecting which version of the cluster-autoscaler to install, use the one that is closest to the same version as the `cluster_version` or slightly higher. The cluster-autoscaler uses the kuberentes scheduling algorithm to appropriate scale the cluster, and if the autoscaler version sufficiently divirges from the kubernetes version, the autoscaler will scale the node groups incorrectly. - # CHANGELOG * 0.0.2 -- 2024-07-30 - remove cluster-autoscaler (using karpenter) @@ -24,6 +23,7 @@ The cluster-autoscaler uses the kuberentes scheduling algorithm to appropriate s - updated version.tf to 0.0.1 - included module.images in depends on helm charts - created changelog + ## Requirements @@ -101,4 +101,4 @@ The cluster-autoscaler uses the kuberentes scheduling algorithm to appropriate s | [module\_version](#output\_module\_version) | The version of this module. | | [rwo\_storage\_class](#output\_rwo\_storage\_class) | Kubernetes storage class that supports read/write once. | | [rwx\_storage\_class](#output\_rwx\_storage\_class) | Kubernetes storage class that supports read/write many. | - \ No newline at end of file + diff --git a/main.tf b/main.tf index 583581d..5441e50 100644 --- a/main.tf +++ b/main.tf @@ -26,8 +26,7 @@ resource "kubernetes_storage_class" "gp3_encrypted" { fsType = "ext4" type = "gp3" encrypted = "true" - # kms_key_id = data.aws_kms_key.ebs_key.arn - kmsKeyId = data.aws_kms_key.ebs_key.arn + kmsKeyId = data.aws_kms_key.ebs_key.arn } storage_provisioner = "ebs.csi.aws.com" reclaim_policy = "Delete" @@ -46,8 +45,7 @@ resource "kubernetes_storage_class" "ebs_encrypted" { fsType = "ext4" type = "gp2" encrypted = "true" - # kms_key_id = data.aws_kms_key.ebs_key.arn - kmsKeyId = data.aws_kms_key.ebs_key.arn + kmsKeyId = data.aws_kms_key.ebs_key.arn } storage_provisioner = "kubernetes.io/aws-ebs" reclaim_policy = "Delete"