Testing kube-bench on minikube/macos - only logs summary #1493
Unanswered
maoo
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to test kube-bench on minikube (
v1.31.2
), before running it on prod environments; as I'm running on MacOS, I understand this is the only (documented) way I can run kube-bench.When minikube is up and running, I install kube-bench using
kubectl apply -f https://raw.githubusercontent.com/aquasecurity/kube-bench/main/job-master.yaml
and I validate the installation usingkubectl get pods -l job-name=kube-bench-master
andkubectl describe pod -l job-name=kube-bench-master
; so far so good.But when I access logs - with
kubectl logs -l job-name=kube-bench-master
- I can't see log details, all I can see is this:I also tried to play with the container's
command
and set it as["kube-bench", "run", "--benchmark", "cis-1.24", "-v", "5", "--include-test-output"]
, but got the same result.I feel like I'm missing something basic here; any help would be greatly appreciated.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions