Skip to content

Commit

Permalink
fix #345: add documentation for --write-kubeconfig-group option
Browse files Browse the repository at this point in the history
Signed-off-by: David Shen <[email protected]>
  • Loading branch information
davidshen84 committed Oct 27, 2024
1 parent a6ca20e commit fc0d8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cli/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The following options must be set to the same value on all servers in the cluste
|--------------------------------------|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `--write-kubeconfig value, -o` value | `K3S_KUBECONFIG_OUTPUT` | Write kubeconfig for admin client to this file |
| `--write-kubeconfig-mode` value | `K3S_KUBECONFIG_MODE` | Write kubeconfig with this [mode.](https://en.wikipedia.org/wiki/Chmod) The kubeconfig file is owned by root, and written with a default mode of 600. Changing the mode to 644 will allow it to be read by other unprivileged users on the host. |

| `--write-kubeconfig-group` value | `K3S_KUBECONFIG_GROUP` | Write kubeconfig group. Combining with `--write-kubeconfig-mode`, it will allow your k3s administrators accessing the kubeconfig file but keeping the file owned by root. |

## Advanced Options

Expand Down

0 comments on commit fc0d8c8

Please sign in to comment.