Skip to content

Create telemetry namespace #21

Merged
merged 1 commit into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading