kubernetes/cmd/kubeadm/app/util/config
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
..
strict Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
BUILD kubeadm: Cleanup and refactor the LoadJoinConfigurationFromFile test 2020-07-03 20:00:49 +03:00
cluster_test.go kubeadm upgrade plan: don't load component configs 2020-06-10 14:23:53 +03:00
cluster.go kubeadm upgrade plan: don't load component configs 2020-06-10 14:23:53 +03:00
common_test.go Initial deprecation of kubeadm v1beta1 apis 2019-10-06 23:26:12 +00:00
common.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
initconfiguration_test.go kubeadm: Cleanup and refactor the LoadJoinConfigurationFromFile test 2020-07-03 20:00:49 +03:00
initconfiguration.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
joinconfiguration_test.go kubeadm: Cleanup and refactor the LoadJoinConfigurationFromFile test 2020-07-03 20:00:49 +03:00
joinconfiguration.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00