|
22 | 22 |
|
23 | 23 | from jinja2 import Environment, FileSystemLoader |
24 | 24 |
|
25 | | -from .ocp import getConsoleURL, waitForCRD, waitForDeployment, crdExists |
| 25 | +from .ocp import getConsoleURL, waitForCRD, waitForDeployment, crdExists, getStorageClassVolumeBindingMode |
26 | 26 | from .mas import waitForPVC, patchPendingPVC |
27 | 27 |
|
28 | 28 | logger = logging.getLogger(__name__) |
@@ -158,7 +158,6 @@ def preparePipelinesNamespace(dynClient: DynamicClient, instanceId: str = None, |
158 | 158 | pvcAPI.apply(body=pvc, namespace=namespace) |
159 | 159 |
|
160 | 160 | # Automatically determine if we should wait for PVC binding based on storage class |
161 | | - from .ocp import getStorageClassVolumeBindingMode |
162 | 161 | volumeBindingMode = getStorageClassVolumeBindingMode(dynClient, storageClass) |
163 | 162 | waitForBind = (volumeBindingMode == "Immediate") |
164 | 163 |
|
@@ -205,7 +204,6 @@ def prepareAiServicePipelinesNamespace(dynClient: DynamicClient, instanceId: str |
205 | 204 | pvcAPI.apply(body=pvc, namespace=namespace) |
206 | 205 |
|
207 | 206 | # Automatically determine if we should wait for PVC binding based on storage class |
208 | | - from .ocp import getStorageClassVolumeBindingMode |
209 | 207 | volumeBindingMode = getStorageClassVolumeBindingMode(dynClient, storageClass) |
210 | 208 | waitForBind = (volumeBindingMode == "Immediate") |
211 | 209 |
|
|
0 commit comments