Files
kubernetes/pkg/controlplane
Masashi Honma 81ed48a471 test: Fix using deprecated default cluster IPs
The unit test for controlplane produces a warning caused by using deprecated default cluster IPs.

make test WHAT=./pkg/controlplane GOFLAGS=-v
W1015 07:42:59.203836  111754 services.go:37] No CIDR for service cluster IPs specified. Default value which was 10.0.0.0/24 is deprecated and will be removed in future releases. Please specify it using --service-cluster-ip-range on kube-apiserver.

This warning appears in six tests, TestValidOpenAPISpec, TestLegacyRestStorageStrategies, TestCertificatesRestStorageStrategies, TestVersion, TestAPIVersionOfDiscoveryEndpoints, TestStorageVersionHashes and TestStorageVersionHashEqualities.

This patch fixes the warning by passing ServiceIPRange.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-17 07:38:10 +09:00
..
2020-09-02 10:49:40 -07:00
2020-09-10 16:34:05 -07:00
2020-09-02 10:49:40 -07:00
2020-09-02 10:49:40 -07:00
2020-09-14 09:24:41 -04:00
2020-09-02 10:48:26 -07:00
2020-09-14 09:24:40 -04:00
2020-09-10 16:34:05 -07:00