test/integration: disable fake cloud routes controllers in cloud-controller-manager secure serving tests

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
Andrew Sy Kim 2020-12-03 14:02:45 -05:00
parent 00f9aef0ab
commit 0c90d8ddd9

View File

@ -327,5 +327,7 @@ func intPtr(x int) *int {
}
func fakeCloudProviderFactory(io.Reader) (cloudprovider.Interface, error) {
return &fake.Cloud{}, nil
return &fake.Cloud{
DisableRoutes: true, // disable routes for server tests, otherwise --cluster-cidr is required
}, nil
}