1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2025-03-06 18:16:14 +00:00

Add command with ocp benchmark selected

This commit is contained in:
Deepanshu Bhatia 2025-01-30 03:11:42 +05:30
parent 040c137c9d
commit 4ba6a0cfda

View File

@ -89,7 +89,15 @@ spec:
serviceAccountName: kube-bench-sa serviceAccountName: kube-bench-sa
automountServiceAccountToken: true automountServiceAccountToken: true
containers: 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 image: docker.io/aquasec/kube-bench:latest
name: kube-bench name: kube-bench
volumeMounts: volumeMounts: