From e20558e545e86b3dd02743db3e284c8d467dafc4 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Thu, 23 Dec 2021 00:18:35 +0700 Subject: [PATCH] fix(external): do not create namespaces --- external/cloudflare.tf | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/external/cloudflare.tf b/external/cloudflare.tf index 19174073..b3e13d2c 100644 --- a/external/cloudflare.tf +++ b/external/cloudflare.tf @@ -34,19 +34,6 @@ resource "cloudflare_argo_tunnel" "homelab" { secret = base64encode(random_password.tunnel_secret.result) } -resource "kubernetes_namespace" "namespaces" { - for_each = toset([ - "cert-manager", - "cloudflared", - "external-dns", - "k8up-operator" - ]) - - metadata { - name = each.key - } -} - resource "kubernetes_secret" "cloudflared_credentials" { metadata { name = "cloudflared-credentials"