alexellis / k3sup

bootstrap K3s over SSH in < 60s 🚀
https://github.com/sponsors/alexellis
Other
6.19k stars 376 forks source link

Add `--merge` flag to `k3sup plan` command #438

Open DaruZero opened 1 month ago

DaruZero commented 1 month ago

Why do you need this?

I use the plan command to automate bootstrapping many clusters, and it would be useful to add --merge flag to the resulting script in order to avoid manually merging the kubeconfig.

Expected Behaviour

Running the bootstrap script should require as little additional steps as possible.

Current Behaviour

After bootstrapping a cluster, I need to manually merge the new kubeconfig with the default one

Possible Solution

Add the --merge flag to the plan command, that would simply add the same --merge flag to the install command in the generated bootstrap script

Your Environment

k3sup version

Do you want to work on this?

Subject to design approval, are you willing to work on a Pull Request for this issue or feature request?

alexellis commented 1 month ago

Hi @DaruZero please see the other comment I made here: https://github.com/alexellis/k3sup/issues/436#issuecomment-2273623928

If you'd like to send a pull request you can go ahead.

DaruZero commented 1 month ago

Yes, I'd like to work on this. I'll probably open a PR in a few days