Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
download kubectl and put it in ~/bin/kubectl #568
Comments
cmars
commented
Jan 13, 2017
•
|
The spell should also put the config in I think some care needs to be taken though. If the user has an existing kubectl in ~/bin, or an existing ~/.kube/config, the spell really should prompt whether to overwrite these files. Think of established k8s Alternatively, the spell could write the kubectl and config to a conjure-up specific directory ( |
|
Reason we dont overwrite ~/.kube/config is that someone may have an existing cluster and we didn't want to step on that. We could potentionally name the config differently and provide a wrapper script that calls kubectl with the correct config. |
battlemidget
referenced this issue
in conjure-up/spells
Jan 17, 2017
Closed
[kubernetes] put kubectl in $HOME/bin #33
|
For @cmars comment @marcoceppi has provided this gist https://gist.github.com/marcoceppi/e74c10178d1b730a36debc1f1622b2ce that we'll get worked into the spells |
battlemidget
modified the milestone:
2.1.0
Jan 30, 2017
battlemidget
self-assigned this
Feb 6, 2017
|
fixed with conjure-up/spells@8dc76de |
dustinkirkland commentedJan 13, 2017
It's great that the kubernetes bundle downloads kubectl for you. It should put it in ~/bin/ though, rather than just in ~.
More importantly, there should be a kubectl snap. But that's a separate issue :-)