diff --git a/controllers/state_manager.go b/controllers/state_manager.go index 4567a7c8c..967a11e8f 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.UpgradePolicy != nil && n.singleton.Spec.Driver.UpgradePolicy.AutoUpgrade && !n.sandboxEnabled { // check if we need to add the annotation