kubernetes/cmd
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
..
clicheck Update sig-cli OWNERS 2022-02-14 10:55:35 -07:00
cloud-controller-manager Remove references to openstack and cinder 2022-08-22 16:43:14 -04:00
dependencycheck replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
dependencyverifier Fix unwanted dependencies scanner 2022-10-28 15:15:20 -04:00
gendocs Add cli-maintainers as approvers to cmd/(gendocs|genman|genyaml) 2022-03-28 14:00:35 +02:00
genkubedocs replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
genman Add cli-maintainers as approvers to cmd/(gendocs|genman|genyaml) 2022-03-28 14:00:35 +02:00
genswaggertypedocs hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
genutils hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
genyaml Add cli-maintainers as approvers to cmd/(gendocs|genman|genyaml) 2022-03-28 14:00:35 +02:00
importverifier replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
kube-apiserver Fix indentation/spacing in comments to render correctly in godoc 2022-12-17 23:27:38 -05:00
kube-controller-manager Fix indentation/spacing in comments to render correctly in godoc 2022-12-17 23:27:38 -05:00
kube-proxy kube-proxy: add a flag to disables the allowing NodePort services to be accessed via localhost 2022-11-02 16:17:52 +08:00
kube-scheduler Fix indentation/spacing in comments to render correctly in godoc 2022-12-17 23:27:38 -05:00
kubeadm kubeadm: handle dry run GET actions from fake discovery 2022-12-21 11:49:59 +02:00
kubectl Update sig-cli OWNERS 2022-02-14 10:55:35 -07:00
kubectl-convert Update sig-cli OWNERS 2022-02-14 10:55:35 -07:00
kubelet Merge pull request #114379 from SergeyKanzhelev/RotateCertificateIsGA 2022-12-10 09:06:24 -08:00
kubemark Merge pull request #112627 from hj-johannes-lee/fix-typo-3 2022-12-09 15:43:14 -08:00
preferredimports preferredimports: support regular expressions for the import path 2022-09-08 18:37:52 +02:00
prune-junit-xml Correctly attribute some datastructures from gotestsum repository 2022-04-01 14:49:15 -04:00
yamlfmt Make yamlfmt tool print filenames 2022-07-13 20:33:40 -07:00
OWNERS Move root approvers to subdirs 2022-10-10 13:43:03 -04:00