diff --git a/docs/kube-bench.yaml b/docs/kube-bench.yaml index c01ca18e..bbda5625 100644 --- a/docs/kube-bench.yaml +++ b/docs/kube-bench.yaml @@ -11,6 +11,8 @@ spec: spec: containers: - command: ["kube-bench"] + #args: + #- "--json" image: docker.io/aquasec/kube-bench:v0.9.1 name: kube-bench volumeMounts: @@ -71,3 +73,8 @@ spec: - hostPath: path: /usr/libexec/cni name: opt-cni-bin + tolerations: + - effect: NoSchedule + key: node-role.kubernetes.io/control-plane + nodeSelector: + node-role.kubernetes.io/control-plane: ""