moving vault related things to vault namespace

This commit is contained in:
shockrah 2024-04-24 00:40:05 -07:00
parent 2fc151251e
commit 31a5323028

View File

@ -1,6 +1,7 @@
resource kubernetes_pod nginx_plain { resource kubernetes_pod nginx_plain {
metadata { metadata {
name = "plain-service" name = "plain-service"
namespace = kubernetes_namespace.vault.metadata.0.name
labels = { labels = {
app = "plain-app" app = "plain-app"
} }
@ -23,6 +24,7 @@ resource kubernetes_pod nginx_plain {
resource kubernetes_service nginx_plain { resource kubernetes_service nginx_plain {
metadata { metadata {
name = "plain-service" name = "plain-service"
namespace = kubernetes_namespace.vault.metadata.0.name
} }
spec { spec {
selector = { selector = {