kubernetes/cmd/kubeadm
Rostislav M. Georgiev d023f3d25d kubeadm: Cleanup and refactor the LoadJoinConfigurationFromFile test
Back in the v1alpha2 days the fuzzer test needed to be disabled. To ensure that
there were no config breaks and everything worked correctly extensive replacement
tests were put in place that functioned as unit tests for the kubeadm config utils
as well.

The fuzzer test has been reenabled for a long time now and there's no need for
these replacements. Hence, over time most of these were disabled, deleted and
refactored. The last remnants are part of the LoadJoinConfigurationFromFile test.

The test data for those old tests remains largely unused today, but it still receives
updates as it contains kubelet's and kube-proxy's component configs. Updates to these
configs are usually done because the maintainers of those need to add a new field.

Hence, to cleanup old code and reduce maintenance burden, the last test that depends
on this test data is finally refactored and cleaned up to represent a simple unit test
of `LoadJoinConfigurationFromFile`.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2020-07-03 20:00:49 +03:00
..
app kubeadm: Cleanup and refactor the LoadJoinConfigurationFromFile test 2020-07-03 20:00:49 +03:00
test cmd/*: fail on unrecognized flags/arguments for component CLI 2020-05-28 22:06:01 +03:00
.import-restrictions prune .import-restrictions 2020-04-28 08:41:36 -07:00
BUILD remove pkg/version and some of redundant copies of it 2019-09-16 16:24:35 -07:00
kubeadm.go alias kubeadmutil for k8s.io/kubernetes/cmd/kubeadm/app/util 2019-12-27 17:57:04 +08:00
OWNERS kubeadm: update OWNERS for 1.16 2019-09-25 18:07:38 +03:00