I'm creating an ingress using terraform kubernetes_ingress resource:
resource "kubernetes_ingress" "this" { metadata { name = "mongodb-ingress" } spec { backend { service_name = "mongodb" service_port = 9092 } rule { http { path { path = "/mongodb/*" backend { service_name = "mongodb" service_port = 9092 } } } } } } It's not clear to me which namespace will be assigned this ingress rule on.
I've tried to get if there's any namespace property, but I don't quite figure out where is it.
Any ideas?