Skip to content

Commit

Permalink
Add command with ocp benchmark selected
Browse files Browse the repository at this point in the history
  • Loading branch information
deebhatia committed Jan 29, 2025
1 parent 040c137 commit 4ba6a0c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion job-ocp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4ba6a0c

Please sign in to comment.