refactor: update node scanner daemonset tolerations

Signed-off-by: Arash Haghighat <arash@linja.pro>
This commit is contained in:
Arash Haghighat
2023-03-01 16:29:33 +01:00
parent 0526f58657
commit 3dfd758a82

View File

@@ -27,14 +27,9 @@ spec:
name: host-scanner
spec:
tolerations:
# this toleration is to have the DaemonDet runnable on master nodes
# this toleration is to have the DaemonDet runnable on all nodes (including masters)
# remove it if your masters can't run pods
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
- operator: Exists
containers:
- name: host-sensor
image: quay.io/kubescape/host-scanner:v1.0.45