-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
New k3s server flag: --write-kubeconfig-own or --write-kubeconfig-group #9209
Comments
I think --write-kubeconfig-group would be reasonable. |
validated with commit_id on v1.30 branch $ echo $COMMIT
$ sudo INSTALL_K3S_COMMIT=$COMMIT INSTALL_K3S_EXEC="server --write-kubeconfig-group=testingNewFeature" ./install-k3s.sh
$ ls -lahr /etc/rancher/k3s/
|
Hi @VestigeJ , Is this feature officially released? I could not find a reference on https://docs.k3s.io/cli/server, but I can see it on my machine with |
Yep. Docs frequently lag behind features. A docs PR would be welcomed! |
Create PR k3s-io/docs#345.
…On Mon, 21 Oct 2024 at 16:01, Brad Davidson ***@***.***> wrote:
Yep. Docs frequently lag behind features. A docs PR would be welcomed!
—
Reply to this email directly, view it on GitHub
<#9209 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAQBTLLJVJ42F375256UCLZ4SDA3AVCNFSM6AAAAABBVGSFQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGU4TCMJZGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thank you for pitching in on this! :) |
Per #389 the default mode for kubeconfig was changed to 600 with ability to override this to 644 (or any other) via a config flag. This is awesome! However, I would like to go with 640 so that I can make it only accessible to a certain group as opposed to world.
It would be great if a flag such as
--write-kubeconfig-own <user>:<group>
or--write-kubeconfig-group <group>
existed so that I can define a group myself, and used together with--write-kubeconfig-mode
the file is written as 640 root:.At the moment, this is a step I take manually after installation. I think it would be more helpful to be able to add this into the configuration file.
The text was updated successfully, but these errors were encountered: