aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest_kubernetes/security/kube-bench.yaml2
-rw-r--r--functest_kubernetes/security/kube-hunter.yaml3
2 files changed, 3 insertions, 2 deletions
diff --git a/functest_kubernetes/security/kube-bench.yaml b/functest_kubernetes/security/kube-bench.yaml
index ec42ba16..38a2ef60 100644
--- a/functest_kubernetes/security/kube-bench.yaml
+++ b/functest_kubernetes/security/kube-bench.yaml
@@ -12,7 +12,7 @@ spec:
hostPID: true
containers:
- name: kube-bench
- image: aquasec/kube-bench:latest
+ image: aquasec/kube-bench:0.3.1
command: ["kube-bench"]
volumeMounts:
- name: var-lib-etcd
diff --git a/functest_kubernetes/security/kube-hunter.yaml b/functest_kubernetes/security/kube-hunter.yaml
index ce88c062..b4452a57 100644
--- a/functest_kubernetes/security/kube-hunter.yaml
+++ b/functest_kubernetes/security/kube-hunter.yaml
@@ -1,3 +1,4 @@
+---
apiVersion: batch/v1
kind: Job
metadata:
@@ -7,7 +8,7 @@ spec:
spec:
containers:
- name: kube-hunter
- image: aquasec/kube-hunter
+ image: aquasec/kube-hunter:0.3.1
command: ["python", "kube-hunter.py"]
args: ["--pod"]
restartPolicy: Never