From 3dfd758a82c1e157112e6a0b2a796ecbcaeb57ac Mon Sep 17 00:00:00 2001 From: Arash Haghighat Date: Wed, 1 Mar 2023 16:29:33 +0100 Subject: [PATCH] refactor: update node scanner daemonset tolerations Signed-off-by: Arash Haghighat --- core/pkg/hostsensorutils/hostsensor.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/core/pkg/hostsensorutils/hostsensor.yaml b/core/pkg/hostsensorutils/hostsensor.yaml index 29db73a3..27fb8edf 100644 --- a/core/pkg/hostsensorutils/hostsensor.yaml +++ b/core/pkg/hostsensorutils/hostsensor.yaml @@ -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