fix calico install error
This commit is contained in:
parent
81e73580db
commit
ebe1a279fc
2
init.tf
2
init.tf
@ -98,7 +98,7 @@ resource "null_resource" "kustomization" {
|
|||||||
file("${path.module}/kustomize/system-upgrade-controller.yaml"),
|
file("${path.module}/kustomize/system-upgrade-controller.yaml"),
|
||||||
"ccm.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"
|
destination = "/var/post_install/kustomization.yaml"
|
||||||
|
Loading…
Reference in New Issue
Block a user