talos/internal/integration/api
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 chore: build using Go 1.17 2021-09-13 22:33:47 +03:00
apply-config.go refactor: use pointer types more in machine config structs 2022-07-01 17:27:11 +04:00
discovery.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
diskusage.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
dmesg.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
etcd-recover.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
etcd.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
events.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
generate-config.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
logs.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
reboot.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
reset.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00
update-endpoint.go fix: regenerate kubelet certs when hostname changes 2022-07-21 01:54:15 +02:00
update-hostname.go fix: regenerate kubelet certs when hostname changes 2022-07-21 01:54:15 +02:00
version.go feat: extend node definition used in health checks 2022-06-13 14:13:42 +02:00