Loading k8s/kube-bench.yml +3 −2 Original line number Diff line number Diff line Loading @@ -5,8 +5,9 @@ k8s:kube-bench: name: bitnami/kubectl:latest entrypoint: [""] variables: KUBE_BENCH_MANIFEST: https://raw.githubusercontent.com/aquasecurity/kube-bench/main/job.yaml KUBE_BENCH_JOB_NAME: kube-bench KUBE_BENCH_VERSION: main # or use for example v0.6.7 from the available tags on https://github.com/aquasecurity/kube-bench/tags KUBE_BENCH_MANIFEST: https://raw.githubusercontent.com/aquasecurity/kube-bench/${KUBE_BENCH_VERSION}/job.yaml KUBE_BENCH_JOB_NAME: kube-bench # needs to match the meta in the job manifest script: - wget -O job.yaml ${KUBE_BENCH_MANIFEST} - kubectl delete -f job.yaml --ignore-not-found=true Loading Loading
k8s/kube-bench.yml +3 −2 Original line number Diff line number Diff line Loading @@ -5,8 +5,9 @@ k8s:kube-bench: name: bitnami/kubectl:latest entrypoint: [""] variables: KUBE_BENCH_MANIFEST: https://raw.githubusercontent.com/aquasecurity/kube-bench/main/job.yaml KUBE_BENCH_JOB_NAME: kube-bench KUBE_BENCH_VERSION: main # or use for example v0.6.7 from the available tags on https://github.com/aquasecurity/kube-bench/tags KUBE_BENCH_MANIFEST: https://raw.githubusercontent.com/aquasecurity/kube-bench/${KUBE_BENCH_VERSION}/job.yaml KUBE_BENCH_JOB_NAME: kube-bench # needs to match the meta in the job manifest script: - wget -O job.yaml ${KUBE_BENCH_MANIFEST} - kubectl delete -f job.yaml --ignore-not-found=true Loading