From 4ba6a0cfda2472f8840a3fe39090e4c4570a4bb2 Mon Sep 17 00:00:00 2001 From: Deepanshu Bhatia Date: Thu, 30 Jan 2025 03:11:42 +0530 Subject: [PATCH] Add command with ocp benchmark selected --- job-ocp.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/job-ocp.yaml b/job-ocp.yaml index 7bcd87be7..42d5f47dc 100644 --- a/job-ocp.yaml +++ b/job-ocp.yaml @@ -89,7 +89,15 @@ spec: serviceAccountName: kube-bench-sa automountServiceAccountToken: true containers: - - command: ["kube-bench"] + - command: + [ + "kube-bench", + "run", + "--targets", + "master,controlplane,node,etcd,policies", + "--benchmark", + "rh-1.6", + ] image: docker.io/aquasec/kube-bench:latest name: kube-bench volumeMounts: