• Brad Davidson's avatar
    Add support for kubeadm token and client certificate auth · ade6203a
    Brad Davidson authored
    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: 's avatarBrad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 992e6499)
    ade6203a
Name
Last commit
Last update
.github Loading commit data...
cmd Loading commit data...
conformance Loading commit data...
contrib Loading commit data...
docs Loading commit data...
manifests Loading commit data...
package Loading commit data...
pkg Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.codespellignore Loading commit data...
.dockerignore Loading commit data...
.drone.yml Loading commit data...
.gitignore Loading commit data...
.golangci.json Loading commit data...
ADOPTERS.md Loading commit data...
BUILDING.md Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DCO Loading commit data...
Dockerfile.dapper Loading commit data...
Dockerfile.manifest Loading commit data...
Dockerfile.test Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
ROADMAP.md Loading commit data...
channel.yaml Loading commit data...
docker-compose.yml Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
install.sh Loading commit data...
k3s-rootless.service Loading commit data...
k3s.service Loading commit data...
main.go Loading commit data...