mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-02 09:47:06 +00:00
Merge pull request #95397 from masap/test-integratio/fix-warning
test-integration: Fix using deprecated default cluster IPs
This commit is contained in:
@@ -204,6 +204,9 @@ func startMasterOrDie(masterConfig *controlplane.Config, incomingServer *httptes
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if masterConfig.ExtraConfig.ServiceIPRange.IP == nil {
|
||||||
|
masterConfig.ExtraConfig.ServiceIPRange = net.IPNet{IP: net.ParseIP("10.0.0.0"), Mask: net.CIDRMask(24, 32)}
|
||||||
|
}
|
||||||
m, err = masterConfig.Complete().New(genericapiserver.NewEmptyDelegate())
|
m, err = masterConfig.Complete().New(genericapiserver.NewEmptyDelegate())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// We log the error first so that even if closeFn crashes, the error is shown
|
// We log the error first so that even if closeFn crashes, the error is shown
|
||||||
|
Reference in New Issue
Block a user