Skip to content

Commit

Permalink
feat: apply replace pattern on all resources
Browse files Browse the repository at this point in the history
  • Loading branch information
WRKT committed Aug 26, 2024
1 parent 942bad2 commit 66679a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/plugin/replace_pattern_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ func NewRestorePlugin(logger logrus.FieldLogger) *RestorePlugin {

// AppliesTo returns a ResourceSelector that matches all resources
func (p *RestorePlugin) AppliesTo() (velero.ResourceSelector, error) {
return velero.ResourceSelector{
ExcludedResources: []string{"pods", "persistentvolumeclaims"},
}, nil
return velero.ResourceSelector{}, nil
}

// Execute allows the RestorePlugin to perform arbitrary logic with the item being restored
Expand Down

0 comments on commit 66679a7

Please sign in to comment.