diff --git a/pkg/storage/pv_creator.go b/pkg/storage/pv_creator.go index aff87f490..3dc4bddba 100644 --- a/pkg/storage/pv_creator.go +++ b/pkg/storage/pv_creator.go @@ -315,6 +315,10 @@ func (ls *LocalStorage) bindClaimToVolume(claim v1.PersistentVolumeClaim, volume // Check claim. If already bound, bail out if !pvcNeedsVolume(*updated) { + if updated.Spec.VolumeName == volumeName { + log.Info().Msg("PersistentVolumeClaim already bound to PersistentVolume") + return nil + } return maskAny(fmt.Errorf("PersistentVolumeClaim '%s' no longer needs a volume", claim.GetName())) }