Support re-using existing cert-manager on cluster

This commit is contained in:
Rodrigue Koffi
2022-07-26 22:09:00 +02:00
parent 6db7f31627
commit b6c0d65455
7 changed files with 31 additions and 15 deletions
@@ -1,5 +1,6 @@
module "cert_manager" {
source = "github.com/aws-ia/terraform-aws-eks-blueprints/modules/kubernetes-addons/cert-manager"
count = var.enable_cert_manager ? 1 : 0
helm_config = { version = "v1.8.2" }
addon_context = var.addon_context
@@ -20,6 +20,11 @@ variable "addon_context" {
})
}
variable "enable_cert_manager" {
type = bool
default = true
}
variable "kubernetes_version" {
type = string
}