Skip to content

Commit

Permalink
fix crd eof apply
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstenboom authored Jul 28, 2020
1 parent b0c1167 commit b079e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm-operator.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ resource "null_resource" "crds" {
}

provisioner "local-exec" {
command = "kubectl apply -f - <<EOF\n${data.template_file.crds.rendered}\nEOF"
command = "kubectl apply -f - <<'EOF'\n${data.template_file.crds.rendered}\nEOF"
}

provisioner "local-exec" {
when = "destroy"
command = "kubectl delete -f - <<EOF\n${data.template_file.crds.rendered}\nEOF"
command = "kubectl delete -f - <<'EOF'\n${data.template_file.crds.rendered}\nEOF"
}
}

Expand Down

0 comments on commit b079e79

Please sign in to comment.