Commit 1bce27fd by chenxx

update

1 parent 1cc6eb7a
Showing 1 changed file with 1 additions and 0 deletions
...@@ -29,6 +29,7 @@ resource "kubernetes_deployment" "CUS" { ...@@ -29,6 +29,7 @@ resource "kubernetes_deployment" "CUS" {
metadata { metadata {
name = var.name name = var.name
namespace = var.namespace namespace = var.namespace
labels = {for label in var.labels: split("=",label)[0] => split("=",label)[1]}
} }
spec { spec {
replicas = 1 replicas = 1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!