Skip to content

Commit

Permalink
Update kube-bench (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
errm authored Jul 20, 2022
1 parent 7d78096 commit 74fbc06
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,6 @@ type KubeBenchResultTotals struct {
TotalInfo int `json:"total_info"`
}

// Override kube-bench config.yaml for bottlerocket support
// This should be fixed with kube-bench 0.6.0
// https://github.com/aquasecurity/kube-bench/issues/808
const KUBEBENCH_MANIFEST = `---
apiVersion: v1
kind: Namespace
Expand All @@ -420,8 +417,8 @@ spec:
hostPID: true
containers:
- name: kube-bench
image: aquasec/kube-bench:v0.6.5
command: ["kube-bench", "run", "--targets=node", "--benchmark", "eks-1.0", "--json"]
image: aquasec/kube-bench:v0.6.8
command: ["kube-bench", "run", "--targets=node", "--benchmark", "eks-1.0.1", "--json"]
volumeMounts:
- name: var-lib-kubelet
mountPath: /var/lib/kubelet
Expand Down

0 comments on commit 74fbc06

Please sign in to comment.