fix
This commit is contained in:
@@ -48,14 +48,11 @@ locals {
|
||||
}]...)
|
||||
}
|
||||
|
||||
resource "kubectl_manifest" "coredns-config" {
|
||||
yaml_body = <<-EOF
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: "${var.component}-${var.instance}"
|
||||
namespace: "${var.namespace}"
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
data: ${jsonencode(local.files)}
|
||||
EOF
|
||||
resource "kubernetes_config_map_v1" "coredns-config" {
|
||||
metadata {
|
||||
name = "${var.component}-${var.instance}"
|
||||
namespace = "${var.namespace}"
|
||||
labels = local.common-labels
|
||||
}
|
||||
data = local.files
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user