Skip to content

Commit d79b73a

Browse files
committed
More testing
1 parent d67028e commit d79b73a

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/k8s-tests.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,8 @@ jobs:
9999
helm status defectdojo
100100
helm history defectdojo
101101
kubectl get events --sort-by=.metadata.creationTimestamp
102-
kubectl logs pod/defectdojo-postgresql-0 -c init-chmod-data --previous --tail=200
103-
echo "Inspect what the init container thinks the path is"
104-
kubectl get sts defectdojo-postgresql -o jsonpath='{.spec.template.spec.initContainers[?(@.name=="init-chmod-data")].command}{" "}{.spec.template.spec.initContainers[?(@.name=="init-chmod-data")].args}{"\n"}'
105-
echo "Where is the PVC mounted for the main container?"
106-
kubectl get sts defectdojo-postgresql -o jsonpath='{range .spec.template.spec.containers[?(@.name=="postgresql")].volumeMounts[*]}{.name} {.mountPath}{"\n"}{end}'
107-
echo "And for the init container specifically"
108-
kubectl get sts defectdojo-postgresql -o jsonpath='{range .spec.template.spec.initContainers[?(@.name=="init-chmod-data")].volumeMounts[*]}{.name} {.mountPath}{"\n"}{end}'
102+
kubectl describe pvc persistentvolumeclaim/data-defectdojo-postgresql-0
103+
kubectl logs pod/defectdojo-postgresql-0 --all-containers --tail=100 --prefix
109104
110105
- name: Check Application
111106
timeout-minutes: 10

0 commit comments

Comments
 (0)