diff --git a/modules/eks/karpenter/main.tf b/modules/eks/karpenter/main.tf index 760628463..84f0a2d5b 100644 --- a/modules/eks/karpenter/main.tf +++ b/modules/eks/karpenter/main.tf @@ -31,7 +31,7 @@ resource "kubernetes_namespace" "default" { metadata { name = var.kubernetes_namespace annotations = {} - labels = module.this.tags + labels = merge(module.this.tags, { name = var.kubernetes_namespace }) } }