From 6db7514bb726d06c6f6dcfc4ff37057b38a5fd17 Mon Sep 17 00:00:00 2001 From: mcgin314 Date: Wed, 26 Feb 2025 08:26:24 -0500 Subject: [PATCH] Create telemetry namespace --- main.tf | 9 +++++++++ variables.tf | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/main.tf b/main.tf index dfa9dc5..00e1daa 100644 --- a/main.tf +++ b/main.tf @@ -83,3 +83,12 @@ resource "kubernetes_namespace" "operators" { name = var.operators_ns } } + +resource "kubernetes_namespace" "telemetry" { + metadata { + name = var.telemetry_ns + labels = { + istio-injection = "enabled" + } + } +} diff --git a/variables.tf b/variables.tf index 4fad9b2..211d164 100644 --- a/variables.tf +++ b/variables.tf @@ -30,6 +30,12 @@ variable "operators_ns" { default = "operators" } +variable "telemetry_ns" { + description = "Namespace to create where telemetry will be installed." + type = string + default = "telemetry" +} + variable "tag_costallocation" { description = "Tag CostAllocation (default)" type = string