Fixing K8s PVC mounting
parent
1fe6823565
commit
a6af0478a3
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
|
@ -9,6 +9,7 @@ class KubernetesStorage {
|
|||
}
|
||||
public static async watchUntilPVCNotPending(kubeClient: k8s.CoreV1Api, name: string, namespace: string) {
|
||||
core.info(`watch Until PVC Not Pending ${name} ${namespace}`);
|
||||
core.info(`${await this.getPVCPhase(kubeClient, name, namespace)}`);
|
||||
await waitUntil(async () => (await this.getPVCPhase(kubeClient, name, namespace)) !== 'Pending', {
|
||||
timeout: 500000,
|
||||
intervalBetweenAttempts: 15000,
|
||||
|
|
|
|||
Loading…
Reference in New Issue