fix(external): do not create namespaces

This commit is contained in:
Khue Doan 2021-12-23 00:18:35 +07:00
parent 210fa77dcc
commit e20558e545

View File

@ -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"