Closed akutz closed 4 years ago
Closing as a duplicate:
https://github.com/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/192
Will add a note about quoting there since some quoting is required as per the docs. Anything that YAML would get confused by needs quotes.
/kind bug
What steps did you take and what happened: Commands given to the cloud-init
runcmd
module are currently single-quoted:This causes issues when strings inside the commands are themselves single-quoted. The above example should be emitted like so:
What did you expect to happen: The commands should not be quoted at all, per the cloud-init docs, ex: