-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add restore singleton subscription (#1918)
* add a new step to restore singleton subscription Signed-off-by: Allen Li <[email protected]> * keep filename consistency Signed-off-by: Allen Li <[email protected]> --------- Signed-off-by: Allen Li <[email protected]>
- Loading branch information
Showing
4 changed files
with
64 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ spec: | |
operator: In | ||
values: | ||
- catalog | ||
- singleton-subscription | ||
- subscription | ||
- operand | ||
- data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: velero.io/v1 | ||
kind: Restore | ||
metadata: | ||
name: restore-singleton-subscription | ||
namespace: velero | ||
spec: | ||
backupName: __BACKUP_NAME__ | ||
excludedResources: | ||
- nodes | ||
- events | ||
- events.events.k8s.io | ||
- backups.velero.io | ||
- restores.velero.io | ||
- resticrepositories.velero.io | ||
hooks: {} | ||
includedNamespaces: | ||
- '*' | ||
labelSelector: | ||
matchLabels: | ||
foundationservices.cloudpak.ibm.com: singleton-subscription |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ spec: | |
values: | ||
- catalog | ||
- subscription | ||
- singleton-subscription | ||
- operand | ||
- zen-data | ||
- mongo-data | ||
|