From: Juha Kosonen Date: Fri, 27 Mar 2020 08:55:58 +0000 (+0200) Subject: Add path to kube-hunter job manifest file X-Git-Tag: 3.0.0~5 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=91bbac212a6deb07ef6d1a5a8b8d55ddf4bab69b;p=validation.git Add path to kube-hunter job manifest file Change-Id: I3977be79d96c6122f571efff72d40495e420e767 Signed-off-by: Juha Kosonen --- diff --git a/tests/k8s/kube-hunter/kube-hunter.resource b/tests/k8s/kube-hunter/kube-hunter.resource index 561dea2..4611e75 100644 --- a/tests/k8s/kube-hunter/kube-hunter.resource +++ b/tests/k8s/kube-hunter/kube-hunter.resource @@ -92,7 +92,7 @@ Should Discover No Vulnerabilities Should Be True ${STATUS} Run Scan Within Pod - ${result}= Run Process kubectl apply -f job.yaml + ${result}= Run Process kubectl apply -f ${CURDIR}/job.yaml Should Be Equal As Integers ${result.rc} 0 ${result}= Run Process kubectl wait --for\=condition\=complete ... --timeout\=15m job/kube-hunter