Skip to content

Commit

Permalink
Feat: 🚀 removed unnecessary attributes from cert-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
VishwajitNagulkar committed Oct 4, 2023
1 parent 1f91192 commit 5abee0d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions addons/cert-manager/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,4 @@ module "helm_addon" {
manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
addon_context = var.addon_context
}

resource "kubernetes_namespace_v1" "this" {
count = try(local.helm_config["create_namespace"], true) && local.helm_config["namespace"] != "cert-manager" ? 1 : 0

metadata {
name = local.helm_config["namespace"]
}
}
}

0 comments on commit 5abee0d

Please sign in to comment.