diff --git a/controllers/state_manager.go b/controllers/state_manager.go index 0f10e40e8..99052395e 100644 --- a/controllers/state_manager.go +++ b/controllers/state_manager.go @@ -438,7 +438,8 @@ func (n *ClusterPolicyController) applyDriverAutoUpgradeAnnotation() error { updateRequired := false value := "true" annotationValue, annotationExists := node.Annotations[driverAutoUpgradeAnnotationKey] - if n.singleton.Spec.Driver.UpgradePolicy != nil && + if (n.singleton.Spec.Driver.IsEnabled() || n.singleton.Spec.Driver.UseNvidiaDriverCRDType()) && + n.singleton.Spec.Driver.UpgradePolicy != nil && n.singleton.Spec.Driver.UpgradePolicy.AutoUpgrade && !n.sandboxEnabled { // check if we need to add the annotation