From 754c462d54c80c4c0bbc343582f38e63257619c3 Mon Sep 17 00:00:00 2001 From: LaibaBareera Date: Tue, 20 May 2025 15:17:21 +0500 Subject: [PATCH] add aks-1.7 as a default plateform aks version --- cmd/util.go | 2 ++ job-aks.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/util.go b/cmd/util.go index d052c25..8f290f5 100644 --- a/cmd/util.go +++ b/cmd/util.go @@ -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": diff --git a/job-aks.yaml b/job-aks.yaml index 652a4a5..7a81f46 100644 --- a/job-aks.yaml +++ b/job-aks.yaml @@ -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