fix calico install error

This commit is contained in:
Karim Naufal 2022-05-04 04:32:29 +02:00
parent 81e73580db
commit ebe1a279fc
No known key found for this signature in database
GPG Key ID: 9CB4A7C28C139CA5

View File

@ -98,7 +98,7 @@ resource "null_resource" "kustomization" {
file("${path.module}/kustomize/system-upgrade-controller.yaml"),
"ccm.yaml",
],
var.cni_plugin == "calico" ? [file("${path.module}/kustomize/calico.yaml")] : []
var.cni_plugin == "calico" ? ["calico.yaml"] : []
)
})
destination = "/var/post_install/kustomization.yaml"