mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01: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);
|
logger.warn("Unable to find the network with ID: {} passed for the Kubernetes cluster", networkId);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (isDirectAccess(network)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
networkOffering = networkOfferingDao.findById(network.getNetworkOfferingId());
|
networkOffering = networkOfferingDao.findById(network.getNetworkOfferingId());
|
||||||
if (networkOffering == null) {
|
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());
|
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