From 388b97e441db0cdf6948aad74dcb82775aa83e44 Mon Sep 17 00:00:00 2001 From: DELETE_ME <92442070+abcxyzbank@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:20:18 +0700 Subject: [PATCH 1/2] Create devcontainer.json --- .devcontainer/devcontainer.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..c60ed8e --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,7 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + "ghcr.io/devcontainers/features/aws-cli:1": {}, + "ghcr.io/devcontainers/features/terraform:1": {} + } +} From 88e8a7bd8418346d42b679adc635d7f9d84f368a Mon Sep 17 00:00:00 2001 From: DELETE_ME <92442070+abcxyzbank@users.noreply.github.com> Date: Thu, 31 Oct 2024 06:30:57 +0000 Subject: [PATCH 2/2] test --- tests/complete/main.tf | 4 ++++ variables.tf | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/tests/complete/main.tf b/tests/complete/main.tf index 8da0ce0..20ebc35 100644 --- a/tests/complete/main.tf +++ b/tests/complete/main.tf @@ -115,6 +115,10 @@ module "eks_blueprints_addons" { enable_cert_manager = true cert_manager = { wait = true + crds = { + enabled = true + keep = true + } } # Turn off mutation webhook for services to avoid ordering issue diff --git a/variables.tf b/variables.tf index 9546676..628adee 100644 --- a/variables.tf +++ b/variables.tf @@ -268,6 +268,18 @@ variable "cert_manager_route53_hosted_zone_arns" { default = ["arn:aws:route53:::hostedzone/*"] } +variable "cert_manager_crds_enabled" { + description = "Enable CRDs for cert-manager" + type = bool + default = true +} + +variable "cert_manager_crds_keep" { + description = "Keep CRDs for cert-manager" + type = bool + default = true +} + ################################################################################ # Cluster Autoscaler ################################################################################