mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
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:
@@ -327,5 +327,7 @@ func intPtr(x int) *int {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func fakeCloudProviderFactory(io.Reader) (cloudprovider.Interface, error) {
|
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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user