conjure-up / spells

conjure-up spells registry
79 stars 37 forks source link

kubernetes spells should not create ~/bin/kubectl but merge instead #124

Closed marcoceppi closed 6 years ago

marcoceppi commented 6 years ago

Recent issue from slack came up where not all commands are compatible with this workaround:

Commands using go templates will fail with a bash error:

kubectl get pods -o go-template --template "{{range .items}}{{.metadata.name}}{{'\n'}}{{end}}"
error: error parsing template {{range, template: output:1: unexpected unclosed action in range

The same command against /snap/bin/kubectl with the right config works. I believe we should do the following: