docs: minor tweaks to kube-bench setup
This commit is contained in:
parent
16433aa9bc
commit
5da14fad43
@ -11,6 +11,8 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- command: ["kube-bench"]
|
- command: ["kube-bench"]
|
||||||
|
#args:
|
||||||
|
#- "--json"
|
||||||
image: docker.io/aquasec/kube-bench:v0.9.1
|
image: docker.io/aquasec/kube-bench:v0.9.1
|
||||||
name: kube-bench
|
name: kube-bench
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@ -71,3 +73,8 @@ spec:
|
|||||||
- hostPath:
|
- hostPath:
|
||||||
path: /usr/libexec/cni
|
path: /usr/libexec/cni
|
||||||
name: opt-cni-bin
|
name: opt-cni-bin
|
||||||
|
tolerations:
|
||||||
|
- effect: NoSchedule
|
||||||
|
key: node-role.kubernetes.io/control-plane
|
||||||
|
nodeSelector:
|
||||||
|
node-role.kubernetes.io/control-plane: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user