Skip to content

Commit

Permalink
Merge pull request #360 from portworx/PB-6687
Browse files Browse the repository at this point in the history
PB-6687 :: Placing PX secret in nfsrestore job spec
  • Loading branch information
pallav-px authored May 3, 2024
2 parents 31782fe + 6d6b412 commit 2d70102
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
/bin
profile.out
coverage.txt
.vscode/
.idea/
5 changes: 5 additions & 0 deletions pkg/executor/nfs/nfsrestorevolcreate.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ func restoreVolResourcesAndApply(
if volumeBackup.Namespace != namespace {
continue
}

// TODO: 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 2d70102

Please sign in to comment.