kubernetes/cmd/kubeadm
Lubomir I. Ivanov 54b73deaca kubeadm: handle dry run GET actions from fake discovery
The kubeadm dry run client reactor code is flawed as it assumes
all invoked "get" verb actions can be casted to GetAction.
Apparently that is not the case when Discovery().ServerVersion()
and other discovery calls are made. In such cases the action
type is the bare ActionImpl.

Catch if an action can be casted to ActionImpl and construct a
GetAction from it. GetActionImpl only suppersets ActionImpl with
a Name field (empty string in this case).

Add unit test for Discovery().ServerVersion().
2022-12-21 11:49:59 +02:00
..
app kubeadm: handle dry run GET actions from fake discovery 2022-12-21 11:49:59 +02:00
test kubeadm: certs renew doesn't support positional args 2022-06-23 19:52:22 +08:00
.import-restrictions update kubeadm restrictions to include v3 2022-03-28 10:07:56 -07:00
kubeadm.go alias kubeadmutil for k8s.io/kubernetes/cmd/kubeadm/app/util 2019-12-27 17:57:04 +08:00
OWNERS kubeadm: add chendave as kubeadm reviewer 2022-12-14 10:54:03 +08:00