mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
fix k8s example for authelia and ignore error code when doing debug_fail for k8s tests
This commit is contained in:
parent
0fd77a8092
commit
7edd55544f
2 changed files with 3 additions and 4 deletions
|
@ -48,7 +48,7 @@ spec:
|
|||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: svc-athelia
|
||||
name: svc-authelia
|
||||
port:
|
||||
number: 9091
|
||||
---
|
||||
|
|
|
@ -120,6 +120,5 @@ class KubernetesTest(Test) :
|
|||
|
||||
def _debug_fail(self) :
|
||||
proc = run('sudo kubectl get pods --no-headers -o custom-columns=":metadata.name"', shell=True, capture_output=True)
|
||||
if proc.returncode != 0 :
|
||||
for pod in proc.stdout.decode().splitlines() :
|
||||
run("sudo kubectl logs " + pod, shell=True)
|
||||
for pod in proc.stdout.decode().splitlines() :
|
||||
run("sudo kubectl logs " + pod, shell=True)
|
Loading…
Reference in a new issue