Skip to content

updating the ssh_authorized_keys to sshAuthorizedKeys#1044

Open
clemenko wants to merge 5 commits into
harvester:mainfrom
clemenko:patch-1
Open

updating the ssh_authorized_keys to sshAuthorizedKeys#1044
clemenko wants to merge 5 commits into
harvester:mainfrom
clemenko:patch-1

Conversation

@clemenko

Copy link
Copy Markdown
Contributor

updating the ssh_authorized_keys to sshAuthorizedKeys

Problem:

Solution:

Related Issue(s):

Test plan:

Additional documentation or context

updating the ssh_authorized_keys to sshAuthorizedKeys

Signed-off-by: Andy Clemenko <clemenko@users.noreply.github.com>
@brandond

brandond commented May 19, 2026

Copy link
Copy Markdown

Just comparing what's here in the docs to the actual struct in the code... I think a bunch of the fields are wrong :/ If you're up for a full audit.

Ref: https://github.com/harvester/harvester-installer/blob/39cbe00063b3764bf98844dd556ab4f4a20f1548/pkg/config/config.go#L204-L222

The fields are also really inconsistent about whether they should be mixedCaseLikeThis or allinlowercase or lowercase_with_underscores.

@clemenko

Copy link
Copy Markdown
Contributor Author

Comment thread versioned_docs/version-v1.8/install/harvester-configuration.md Outdated
Comment thread versioned_docs/version-v1.8/install/harvester-configuration.md Outdated
Comment thread versioned_docs/version-v1.8/install/harvester-configuration.md Outdated
clemenko and others added 3 commits May 19, 2026 17:58
Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: Andy Clemenko <clemenko@users.noreply.github.com>
Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: Andy Clemenko <clemenko@users.noreply.github.com>
Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: Andy Clemenko <clemenko@users.noreply.github.com>
@wheatdog

Copy link
Copy Markdown
Member

We have a little discussion on the internal slack channel. We think the original key form, like ssh_authorized_keys, is valid given this implementation: https://github.com/harvester/harvester-installer/blob/39cbe00063b3764bf98844dd556ab4f4a20f1548/pkg/config/rename.go#L25-L30 (Thank @starbops for pointing out this code snippet!)

cc @jillian-maroket

@clemenko

Copy link
Copy Markdown
Contributor Author

We have a little discussion on the internal slack channel. We think the original key form, like ssh_authorized_keys, is valid given this implementation: https://github.com/harvester/harvester-installer/blob/39cbe00063b3764bf98844dd556ab4f4a20f1548/pkg/config/rename.go#L25-L30 (Thank @starbops for pointing out this code snippet!)

cc @jillian-maroket

I can confirm ssh_authorized_keys does not work. And sshAuthorizedKeys does. Have you personally tested it? Is there a unit test for it?

@wheatdog

Copy link
Copy Markdown
Member

@clemenko

Copy link
Copy Markdown
Contributor Author

Let me run another test. I may have had a double entry in the yaml.
Side note is it would be nice to have some consistency in the variable names.

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.

3 participants