moving vault related things to vault namespace
This commit is contained in:
parent
2fc151251e
commit
31a5323028
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user