mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-05-29 04:08:49 +00:00
add aks-1.7 as a default plateform aks version
This commit is contained in:
parent
a761a21227
commit
754c462d54
@ -490,6 +490,8 @@ func getPlatformBenchmarkVersion(platform Platform) string {
|
||||
switch platform.Name {
|
||||
case "eks":
|
||||
return "eks-1.5.0"
|
||||
case "aks":
|
||||
return "aks-1.7"
|
||||
case "gke":
|
||||
switch platform.Version {
|
||||
case "1.15", "1.16", "1.17", "1.18", "1.19":
|
||||
|
@ -11,7 +11,7 @@ spec:
|
||||
- name: kube-bench
|
||||
image: docker.io/aquasec/kube-bench:latest
|
||||
command:
|
||||
["kube-bench", "run", "--targets", "node", "--benchmark", "aks-1.0"]
|
||||
["kube-bench", "run", "--targets", "node", "--benchmark", "aks-1.7"]
|
||||
volumeMounts:
|
||||
- name: var-lib-kubelet
|
||||
mountPath: /var/lib/kubelet
|
||||
|
Loading…
Reference in New Issue
Block a user