mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 01:32:18 +02:00
CKS: fix CKS creation on an existing Shared and Routed network (#11735)
This commit is contained in:
parent
ca7138b3bd
commit
e12813de49
@ -381,6 +381,9 @@ public class KubernetesClusterManagerImpl extends ManagerBase implements Kuberne
|
||||
logger.warn("Unable to find the network with ID: {} passed for the Kubernetes cluster", networkId);
|
||||
return false;
|
||||
}
|
||||
if (isDirectAccess(network)) {
|
||||
return true;
|
||||
}
|
||||
networkOffering = networkOfferingDao.findById(network.getNetworkOfferingId());
|
||||
if (networkOffering == null) {
|
||||
logger.warn("Unable to find the network offering of the network: {} ({}) to be used for provisioning Kubernetes cluster", network.getName(), network.getUuid());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user