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

Add --server-ssh-key for join command #422

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JerryKhw
Copy link

Description

Added the --server-ssh-key flag to the join command to support the ssh key for the existing k3s server.
If the flag does not exist, we have worked to ensure that it operates as the existing function.

Why do you need this?

  • I have raised an issue to propose this change (required)

Was raised by someone else. #404

How Has This Been Tested?

./k3sup join \
  --ip $HA_IP \
  --user $HA_USER \
  --server \
  --server-ip $SERVER_IP \
  --server-user $SERVER_USER \
  --server-ssh-key $SERVER_SSH_KEY_PATH \
  --ssh-key $SSH_KEY_PATH

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

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.

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

Successfully merging this pull request may close these issues.

1 participant