Commit 26a5588
committed
Fix upload-certs TLS error by passing kubeadm config
Without --config, kubeadm upload-certs auto-discovers the API server
and connects to the container's podman bridge IP instead of the VM
cluster IP, causing a certificate validation error (x509: certificate
is valid for 10.0.0.x, not 10.89.x.x).
Pass --config /etc/kubernetes/kubeadm-config.yaml so kubeadm uses the
correct controlPlaneEndpoint from the init config.
Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5289848 commit 26a5588
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments