diff --git a/webhook/resources/volume/validator.go b/webhook/resources/volume/validator.go index fbf3241a70..9e20ec96b6 100644 --- a/webhook/resources/volume/validator.go +++ b/webhook/resources/volume/validator.go @@ -251,12 +251,6 @@ func (v *volumeValidator) Update(request *admission.Request, oldObj runtime.Obje return werror.NewInvalidError(err.Error(), "") } - if oldVolume.Spec.NumberOfReplicas != newVolume.Spec.NumberOfReplicas { - err := fmt.Errorf("changing number of replicas for volume %v is not supported for data engine %v", - newVolume.Name, newVolume.Spec.DataEngine) - return werror.NewInvalidError(err.Error(), "") - } - if oldVolume.Spec.BackingImage != newVolume.Spec.BackingImage { err := fmt.Errorf("changing backing image for volume %v is not supported for data engine %v", newVolume.Name, newVolume.Spec.DataEngine)