File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments