We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Backport fix for cli: k3s fails to execute for users lacking read perms for /etc/rancher/k3s/config.yaml
The text was updated successfully, but these errors were encountered:
Validated on master branch using commit id 4e1ba3a
k3s version v1.25.10+k3s-4e1ba3a0 (4e1ba3a0) go version go1.19.9
Environment Details Infrastructure Cloud EC2 instance
Node(s) CPU architecture, OS, and Version: Ubuntu 22.04
Cluster Configuration: Single node
Steps to reproduce from the PR
touch /etc/rancher/k3s/config.yaml sudo chmod 700 /etc/rancher/k3s/config.yaml Install k3s Call k3s --help, k3s --version, k3s -h, k3s server -h
Results from reproduce the issue:
ubuntu@ip-172-1-1-1:~$ k3s --version FATA[0000] open /etc/rancher/k3s/config.yaml: permission denied ubuntu@ip-172-1-1~1$ k3s -v FATA[0000] open /etc/rancher/k3s/config.yaml: permission denied ubuntu@iip-172-1-1-1:~$ k3s --help FATA[0000] open /etc/rancher/k3s/config.yaml: permission denied ubuntu@ip-172-1-1:~$ k3s server -h FATA[0000] open /etc/rancher/k3s/config.yaml: permission denied
Results from validation:
k3s --version k3s version v1.25.10+k3s-4e1ba3a0 (4e1ba3a0) go version go1.19.9 k3s server -h NAME: k3s server - Run management server
Sorry, something went wrong.
dereknola
est-suse
No branches or pull requests
Backport fix for cli: k3s fails to execute for users lacking read perms for /etc/rancher/k3s/config.yaml
The text was updated successfully, but these errors were encountered: