From f0a52e20658c3efa016b038a31346a1d2d4ec969 Mon Sep 17 00:00:00 2001 From: Leela Venkaiah G Date: Fri, 4 Oct 2024 03:14:06 +0000 Subject: [PATCH] add missing tolerations field in nodeplugin podspec Signed-off-by: Leela Venkaiah G --- internal/controller/driver_controller.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/controller/driver_controller.go b/internal/controller/driver_controller.go index ba0616a9..75a82b86 100644 --- a/internal/controller/driver_controller.go +++ b/internal/controller/driver_controller.go @@ -978,7 +978,8 @@ func (r *driverReconcile) reconcileNodePluginDeamonSet() error { HostPID: r.isRdbDriver(), // to use e.g. Rook orchestrated cluster, and mons' FQDN is // resolved through k8s service, set dns policy to cluster first - DNSPolicy: corev1.DNSClusterFirstWithHostNet, + DNSPolicy: corev1.DNSClusterFirstWithHostNet, + Tolerations: pluginSpec.Tolerations, Containers: utils.Call(func() []corev1.Container { containers := []corev1.Container{ // Node Plugin Container