Commit f53f20ea by chenxx

update

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