Skip to content

Commit

Permalink
PB-6687 :: Skip Portworx Volume in Case NFS Restore
Browse files Browse the repository at this point in the history
Signed-off-by: Vikas Kumar <[email protected]>
  • Loading branch information
vikasit12 committed May 9, 2024
1 parent 471fc1b commit 84c98d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/executor/nfs/nfsrestorevolcreate.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ func restoreVolResourcesAndApply(
if volumeBackup.Namespace != namespace {
continue
}

// Skip portworx volumes in case of nfsRestore PB-6687
if driverName == "pxd" {
continue
}

// If a list of resources was specified during restore check if
// this PVC was included
info.Name = volumeBackup.PersistentVolumeClaim
Expand Down

0 comments on commit 84c98d1

Please sign in to comment.