mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-03-06 10:06:07 +00:00
Add command with ocp benchmark selected
This commit is contained in:
parent
040c137c9d
commit
4ba6a0cfda
10
job-ocp.yaml
10
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:
|
||||
|
Loading…
Reference in New Issue
Block a user