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

Fix: Replace deprecated --no-deploy with --disable causing the installation to fail #394

Closed
wants to merge 1 commit into from

Conversation

andreazorzetto
Copy link

@andreazorzetto andreazorzetto commented Nov 17, 2022

Why do you need this?

k3s installation fails when --no-extras is used because of deprecated --no-deploy
I replaced --no-deploy with --disable

Description

This PR is replacing the deprecated option with the right one

How Has This Been Tested?

Built k3sup and tested with the right option on Ubuntu node

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@derek
Copy link

derek bot commented Nov 17, 2022

Thank you for your contribution. unfortunately, one or more of your commits are missing the required "Signed-off-by:" statement. Signing off is part of the Developer Certificate of Origin (DCO) which is used by this project.

Read the DCO and project contributing guide carefully, and amend your commits using the git CLI. Note that this does not require any cryptography, keys or special steps to be taken.

💡 Shall we fix this?

This will only take a few moments.

First, clone your fork and checkout this branch using the git CLI.

Next, set up your real name and email address:

git config --global user.name "Your Full Name"
git config --global user.email "you@domain.com"

Finally, run one of these commands to add the "Signed-off-by" line to your commits.

If you only have one commit so far then run: git commit --amend --signoff and then git push --force.
If you have multiple commits, watch this video.

Check that the message has been added properly by running "git log".

k3s installation is failing with the former option

Signed-off-by: Andrea Zorzetto <andrea@thatpersonalmail.com>
@derek derek bot removed the no-dco label Nov 17, 2022
@andreazorzetto andreazorzetto changed the title Fix: Replace deprecated --no-deploy with --disable Fix: Replace deprecated --no-deploy with --disable causing the installation to fail Nov 17, 2022
@brandtkeller
Copy link

Came across the same problem and was lead down this same path - question I had is how many previous versions of k3s this tool advertises as actively supporting?

As it relates to these changes - If the goal is as many as possible - then we may need to introduce a check for version for specifying the older --no-deploy as applicable?

@brandtkeller
Copy link

@andreazorzetto Do you have any thoughts here for supporting/testing backwards compatibility?

@brandtkeller
Copy link

I opened #397 for this same issue - willing to collaborate on getting this issue resolved. Wanting to emphasize a path forward that will get this resolved.

alexellis added a commit that referenced this pull request Dec 20, 2022
Due to a change in the K3s installer, this is being changed.

There is no compatibility with K3s 1.17 for this version of
the tool.

Use an older version if you wish to use K3s 1.17.

Closes: #397 #396 #394

Users who find value in K3sup are encouraged to sponsor
me on GitHub, being taken for granted is not a motivator.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@alexellis
Copy link
Owner

Closed in 02c7a77

@alexellis alexellis closed this Dec 20, 2022
Repository owner locked as resolved and limited conversation to collaborators Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants