Add --merge option to k3sup install #1
Labels
enhancement
New feature or request
feature/approved
good first issue
Good for newcomers
moscow/should-have
Description
Add --merge option to k3sup install
Detail
This would take an existing kubeconfig file and merge the incoming configuration. By default this tends to switch the context.
Examples:
https://ahmet.im/blog/mastering-kubeconfig/
This can also be done via code with
kubectl
:https://github.com/civo/cli/blob/0a5cd47484999fb61f5bd27c46c81209211b2bb4/lib/kubernetes.rb#L200
If we can avoid
vendoring
the Kubernetes clientset, then this will keep the binary quick to build and relatively lean. Perhaps using go/exec to runkubectl
?The text was updated successfully, but these errors were encountered: