-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Repository data in Recovery CRD (#436)
This PR enable user to use Repository data in Recovery CRD so that they don't have to repeat backend info. Task List: - [x] Code for using Repository data in Recovery CRD - [x] Update tests - [x] Update docs - [x] Update examples
- Loading branch information
Showing
10 changed files
with
136 additions
and
217 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
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
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
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 |
---|---|---|
@@ -1,22 +1,14 @@ | ||
apiVersion: stash.appscode.com/v1alpha1 | ||
kind: Recovery | ||
metadata: | ||
name: stash-demo | ||
name: minio-recovery | ||
namespace: default | ||
spec: | ||
workload: | ||
kind: Deployment | ||
name: stash-demo | ||
backend: | ||
s3: | ||
endpoint: '<your Minio server addres>' | ||
bucket: stash-qa | ||
prefix: demo | ||
storageSecretName: minio-restic-secret | ||
repository: deployment.stash-demo | ||
paths: | ||
- /source/data | ||
recoveredVolumes: | ||
- mountPath: /source/data | ||
hostPath: | ||
path: /data/stash-test/restic-restored | ||
|
||
- mountPath: /source/data # where the volume will be mounted | ||
name: stash-recovered-volume | ||
hostPath: # volume source, where the recovered data will be stored. | ||
path: /data/stash-recovered/ # directory in volume source where recovered data will be stored |
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
Oops, something went wrong.