tests - fix Kubernetes missing variable assign

This commit is contained in:
bunkerity 2022-07-29 11:30:12 +02:00
parent 865f4f1b56
commit 97a2caf06e
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class KubernetesTest(Test) :
proc = run("sudo kubectl apply -f bunkerweb.yml", cwd="/tmp/kubernetes", shell=True)
if proc.returncode != 0 :
raise(Exception("kubectl apply bunkerweb failed (k8s stack)"))
healthy = False
i = 0
while i < 30 :
proc = run('sudo kubectl get pods | grep bunkerweb | grep -v Running', shell=True, capture_output=True)