mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +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:
parent
00f9aef0ab
commit
0c90d8ddd9
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user