Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invading the RKE2 installer script for some improvements #75

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

seefood
Copy link

@seefood seefood commented Apr 4, 2024

I took the rke2 installer and adapted it to my system (I use a mac, machines are local VMs), tried to add a few more graceful ways to allow re-running of the script (this is by no means a fully idempotent code and should really be reimplemented in Ansible or something)

note 1: I made a LOT of changes. some of them for style, others for correctness, I also added pre-commit tests, shfmt and shellcheck and lots of changes were whitespaces and style. you can go through the commits one by-one to see how I was fixing the script and sometimes backtracking when I undersstood what I was reading. If you want I can squash it and resubmit.

note 2: I didn't need to install Rancher yet, so step 10 was not tested at all. When I get there I'll create a new PR if needed.

note 3: I am using my local IP ranges of course, if you want I can reset the IP addresses to yours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant