From 31a5323028adcf5a381da4a37a20f756a8aab409 Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 24 Apr 2024 00:40:05 -0700 Subject: [PATCH] moving vault related things to vault namespace --- lab/cluster/hello.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lab/cluster/hello.tf b/lab/cluster/hello.tf index afba7d3..9781c12 100644 --- a/lab/cluster/hello.tf +++ b/lab/cluster/hello.tf @@ -1,6 +1,7 @@ resource kubernetes_pod nginx_plain { metadata { name = "plain-service" + namespace = kubernetes_namespace.vault.metadata.0.name labels = { app = "plain-app" } @@ -23,6 +24,7 @@ resource kubernetes_pod nginx_plain { resource kubernetes_service nginx_plain { metadata { name = "plain-service" + namespace = kubernetes_namespace.vault.metadata.0.name } spec { selector = {