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 rootless node password location #7887

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

dereknola
Copy link
Member

@dereknola dereknola commented Jul 6, 2023

Proposed Changes

Fix the path for the rootless node password file. At this stage, cfg.DataDir is .rancher/k3s/server so we need to remove the server and make it .rancher/k3s/agent

Types of Changes

Verification

systemd-run --user -p Delegate=yes --tty ./dist/artifacts/k3s server --rootless &> output
cat output | grep "unable to read node password file"

No error should be produced

Testing

Linked Issues

#3636

User-Facing Change


Further Comments

Signed-off-by: Derek Nola <derek.nola@suse.com>
@dereknola dereknola requested a review from a team as a code owner July 6, 2023 19:30
@dereknola dereknola merged commit 8405813 into k3s-io:master Jul 7, 2023
dereknola added a commit to dereknola/k3s that referenced this pull request Jul 7, 2023
Signed-off-by: Derek Nola <derek.nola@suse.com>
dereknola added a commit to dereknola/k3s that referenced this pull request Jul 7, 2023
Signed-off-by: Derek Nola <derek.nola@suse.com>
dereknola added a commit to dereknola/k3s that referenced this pull request Jul 7, 2023
Signed-off-by: Derek Nola <derek.nola@suse.com>
@dereknola dereknola deleted the rootless_pass branch July 7, 2023 18:03
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