k3s/pkg/cli
Brad Davidson 992e64993d Add support for kubeadm token and client certificate auth
Allow bootstrapping with kubeadm bootstrap token strings or existing
Kubelet certs. This allows agents to join the cluster using kubeadm
bootstrap tokens, as created with the `k3s token create` command.

When the token expires or is deleted, agents can successfully restart by
authenticating with their kubelet certificate via node authentication.
If the token is gone and the node is deleted from the cluster, node auth
will fail and they will be prevented from rejoining the cluster until
provided with a valid token.

Servers still must be bootstrapped with the static cluster token, as
they will need to know it to decrypt the bootstrap data.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2023-02-07 14:55:04 -08:00
..
agent Add support for kubeadm token and client certificate auth 2023-02-07 14:55:04 -08:00
cert Add support for kubeadm token and client certificate auth 2023-02-07 14:55:04 -08:00
cmds Add support for k3s token command 2023-02-07 14:55:04 -08:00
completion Add new k3s completion command for shell completion (#5461) 2022-04-29 12:53:34 -07:00
crictl Revert "Add config file support" 2020-08-29 21:44:07 -07:00
ctr [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
etcdsnapshot Deprecation of etcd-snapshot command in v1.26 (#6575) 2022-12-05 15:28:01 -08:00
kubectl [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
secretsencrypt Add support for kubeadm token and client certificate auth 2023-02-07 14:55:04 -08:00
server Pass through default tls-cipher-suites 2023-01-12 14:51:04 -08:00
token Add support for k3s token command 2023-02-07 14:55:04 -08:00