Files
kubernetes/cmd
Lubomir I. Ivanov f8da9ab287 kubeadm: return stored FakedServerVersion when dry-running
If we are dry-running, do not attempt to fetch the /version
resource and just return the stored FakeServerVersion,
which is done when constructing the dry-run client in
upgrade/common.go#getClient().

The problem here is that during upgrade
dry-run client reactors are backed by a dynamic client
via NewClientBackedDryRunGetterFromKubeconfig() and
for GetActions there seems to be no analog to
Discovery().Serverversion() resource for a dynamic client(?).
2022-12-22 19:53:35 +02:00
..
2022-02-14 10:55:35 -07:00
2021-02-28 15:17:29 -08:00
2021-02-28 15:17:29 -08:00
2022-02-14 10:55:35 -07:00
2022-02-14 10:55:35 -07:00
2022-07-13 20:33:40 -07:00
2022-10-10 13:43:03 -04:00