talos/internal/integration/base
Utku Ozdemir bb4abc0961
fix: regenerate kubelet certs when hostname changes
Clear the kubelet certificates and kubeconfig when hostname changes so that on next start, kubelet goes through the bootstrap process and new certificates are generated and the node is joined to the cluster with the new name.

Fixes siderolabs/talos#5834.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2022-07-21 01:54:15 +02:00
..
api.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
base.go test: add a test for version of Go Talos was built with 2022-05-11 21:51:12 +03:00
cli.go test: fix CLI nodes discovery without provisioner data 2022-06-21 18:42:26 +04:00
cluster.go test: fix CLI nodes discovery without provisioner data 2022-06-21 18:42:26 +04:00
discovery_k8s.go test: fix CLI nodes discovery without provisioner data 2022-06-21 18:42:26 +04:00
discovery_nok8s.go chore: update golangci-lint 2021-11-15 14:55:25 +00:00
errors.go chore: build using Go 1.17 2021-09-13 22:33:47 +03:00
flags.go chore: build using Go 1.17 2021-09-13 22:33:47 +03:00
k8s.go fix: regenerate kubelet certs when hostname changes 2022-07-21 01:54:15 +02:00
run.go feat: use discovery service on cluster health checks 2022-06-15 16:01:38 +02:00