diff --git a/internal/controller/core/site_controller_pre_pull.go b/internal/controller/core/site_controller_pre_pull.go index c67d65cc..67b4df4c 100644 --- a/internal/controller/core/site_controller_pre_pull.go +++ b/internal/controller/core/site_controller_pre_pull.go @@ -100,18 +100,15 @@ func deployPrePullDaemonset(ctx context.Context, r *SiteReconciler, req controll }, }, }, + // Universal toleration to run on all nodes regardless of taints + Tolerations: []v1.Toleration{ + { + Operator: v1.TolerationOpExists, + }, + }, }, }, } - - if len(site.Spec.Workbench.Tolerations) > 0 { - // add the tolerations to the daemonset - for _, t := range site.Spec.Workbench.Tolerations { - prePullDaemonset.Spec.Template.Spec.Tolerations = append(prePullDaemonset.Spec.Template.Spec.Tolerations, *t.DeepCopy()) - } - - // TODO: should also use the workbench node selectors...? But could differ from Connect... - } return nil }); err != nil { l.Error(err, "error creating or updating pre-pull daemonset")