I am testing out k8s, and have easyCerts = true.
I switched the hostname of the machine from nixos-k8s-a to nixos-k8s-master.
To further debug and diagnose cluster problems, use ‘kubectl cluster-info dump’.
Unable to connect to the server: x509: certificate is valid for kubernetes, kubernetes.default.svc, kubernetes.default.svc.cluster.local, nixos-k8s-a, not nixos-k8s-master
I have tried turning easyCerts off then back on. I’ve turned my entire k8s config off, run a switch, done garbage collection, then switched k8s back on and it still wants to use the old cert. Is there a way I can force it to regenerate them with the new hostName?