allenxu404
a8ba4875f0
equip gc controller with configurable frequency
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2022-08-30 10:13:06 +08:00
Xun Jiang/Bruce Jiang
e8494418d4
Merge pull request #5215 from allenxu404/issue5023
...
Refactor GC controller with kubebuilder
2022-08-23 15:59:03 +08:00
Ming
2bf054ad0b
update upstream codes
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-08-22 09:20:47 +00:00
allenxu404
0378020c8d
refactor gc controller with kubebuilder
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2022-08-22 12:16:56 +08:00
Ming
839c2ed98f
Merge branch 'main' of https://github.com/qiuming-best/velero into uploader-kopia
2022-08-19 06:40:58 +00:00
Ming
262de19f52
Uploader Implementation: Kopia backup and restore
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-08-19 06:39:28 +00:00
Lyndon-Li
d58abb2477
repo init
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-08-18 19:45:49 +08:00
lyndon
775943c858
code spell check ( #5230 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-08-18 18:17:39 +08:00
Wenkai Yin(尹文开)
047c7531fa
Refactor the restic repo related code for Kopia integration
...
Refactor the restic repo related code for Kopia integration
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-08-17 11:49:53 +08:00
Daniel Jiang
4e25f59dc1
Add parameter "uploader-type" to velero server ( #5212 )
...
This commit adds the parameter "uploader-type" to velero server, add exposes the
setting via "velero install" in CLI.
fixes #5062
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-08-16 13:50:28 +08:00
qiuming
71e4430840
Merge pull request #5179 from Lyndon-Li/udmrepo-dev-02
...
Kopia Integration: Unified Repository Provider - Implementation
2022-08-16 09:39:40 +08:00
qiuming
36d8d176dd
Merge pull request #5163 from qiuming-best/uploader
...
kopia uploader integration on shim progress uploader module
2022-08-11 17:38:21 +08:00
Ming
49e151739f
Kopia Uploader integration on shim progress uploader
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-08-10 11:35:24 +00:00
danfengliu
a71237cc64
Merge pull request #5124 from danfengliu/add-migration-e2e-test
...
Add migration E2E test
2022-08-10 13:38:32 +08:00
Lyndon-Li
649c3a77df
unified repo provider impl
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-08-09 20:48:31 +08:00
danfengl
fb445b3c0d
Add migration E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-08-09 08:31:39 +00:00
Xun Jiang/Bruce Jiang
a5f4f8f9fc
Merge branch 'main' into 5048-CSI-snapshot-timeout-configurable
2022-08-08 17:18:44 +08:00
Xun Jiang
f8d9cfdb84
Make CSI snapshot creation timeout configurable for backup and schedule.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-08-08 17:07:26 +08:00
Xun Jiang/Bruce Jiang
201c43d683
Merge pull request #5178 from allenxu404/i2413
...
fix issue#2413: treat namespaces with exclude label as excludedNamespaces
2022-08-08 13:35:38 +08:00
allenxu404
e5d828a2a4
modify variables defination and expose err
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2022-08-08 12:05:08 +08:00
Daniel Jiang
ba50458ae2
Merge pull request #5181 from blackpiglet/restic-volume-path-change
...
Add annotation "pv.kubernetes.io/migrated-to" for CSI checking.
2022-08-08 12:03:47 +08:00
Xun Jiang
7af1e23614
Add annotation "pv.kubernetes.io/migrated-to" for CSI checking.
...
1. Also checking annotation "pv.kubernetes.io/migrated-to" to find out whether volume is provisioned by CSI.
2. Add UT cases.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-08-08 10:59:41 +08:00
Xun Jiang/Bruce Jiang
cea5e7f218
Merge pull request #5174 from blackpiglet/reduce-crd-size-new
...
Reduce CRD size.
2022-08-05 18:46:29 +08:00
Wenkai Yin(尹文开)
092fc01e8d
Splic pkg/restic package ( #5143 )
...
This commit splits the pkg/restic package into several packages to support Kopia integration works
Fixes #5055
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-08-05 17:15:38 +08:00
allenxu404
eb08bdeb62
fix issue#2413 by treating namespaces with exclude label as excludedNamespaces
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2022-08-04 20:00:11 +08:00
lyndon
088eb9b83c
repo credentials ( #5167 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-08-04 15:20:02 +08:00
qiuming
701256d296
Merge pull request #5172 from qiuming-best/multi-bsl-fix
...
Fix restic backups to multiple backup storage locations bug
2022-08-03 14:35:42 +08:00
Xun Jiang
e8da5df57a
Reduce CRD size.
...
1. Make the Restore hook.InitConatianer server side field pruing disable.
2. Remove restore patch in update-generate-crd-code.sh.
3. Modify related testcases.
4. Add Container fields validation in Restore Init hook.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-08-02 19:45:01 +08:00
Ming
828e28aa43
Fix restic backups to multiple backup storage locations bug
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-08-02 10:26:23 +00:00
Daniel Jiang
108c81d84c
Skip registering "crd-remap-version" plugin when feature flag ( #5165 )
...
"EnableAPIGroupVersions" is set
The crd-remap-version plugin will always backup v1b1 resource for some
CRD. It impacts the feature flag `EnableAPIGroupVersions` which means to
backup all versions, and make migration fail.
In this commit the featureSet was removed from plugin server struct b/c
it blocks the parm `--features` to be populated correctly. This change
should not have negative impact b/c the attribute in server struct is never used.
Fixes #5146
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-08-02 15:47:57 +08:00
Daniel Jiang
2b0d0959da
Merge pull request #5148 from blackpiglet/vsl-refactor
...
VolumeSnapshotLocation refactor with kubebuilder.
2022-08-01 21:14:18 +08:00
lyndon
52fd18e9db
Kopia Integration Change - Storage Configuration ( #5142 )
...
* unified repo storge config
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
* add UT
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-07-29 16:06:18 +08:00
qiuming
f68ae92fd0
Merge pull request #5145 from blackpiglet/5140-fix-restic-backup-with-customize-CA
...
Delay CA file deletion in PVB controller
2022-07-26 10:32:59 +08:00
Xun Jiang
396e68b810
VolumeSnapshotLocation refactor with kubebuilder.
...
1. modify VSL CRD API file name. Add kubebuilder related marker.
2. Add Labels init code for VSL create command.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-07-25 15:46:43 +08:00
Daniel Jiang
b5583bc2d9
Merge pull request #5129 from kaovilai/initialize-typo
...
comment typo initialise -> initialize
2022-07-25 13:45:00 +08:00
Xun Jiang
82ac228a01
Delay CA file deletion in PVB controller
...
Fix #5140 .
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-07-22 19:36:17 +08:00
Daniel Jiang
f562a7ce2b
Update the CRD for kopia integration
...
This commit adds additional fields to podvolumebackup
and podvolumerestore. The resticrepository will be renamed to
backuprepository
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-07-22 00:10:24 +08:00
Tiger Kaovilai
9a5c3aceff
typo initialise -> initialize
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2022-07-18 12:05:10 -04:00
Scott Seago
64a8c44104
Modify BackupStoreGetter to avoid BSL spec changes
...
Pass in a new copy of the map of config values rather than
modifying the BSL Spec.Config and then pass in that field.
Signed-off-by: Scott Seago <sseago@redhat.com >
2022-07-18 10:31:35 -04:00
Xun Jiang/Bruce Jiang
eaf97e7510
Merge pull request #5110 from reasonerjt/plugin-panic-trace
...
Dump stack trace when the plugin server handles panic
2022-07-11 22:47:17 +08:00
Daniel Jiang
9102f53131
Dump stack trace when the plugin server handles panic
...
Mitigate the issue mentioned in #4782
When there's a bug or misconfiguration that causes nil pointer there
will be more stack trace information to help us debug.
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-07-11 02:01:13 +08:00
Scott Seago
77c1549d4d
Merge pull request #5101 from ywk253100/220628_bsl
...
Fix bsl validation bug
2022-07-08 15:32:51 -04:00
Wenkai Yin(尹文开)
f550f8e3cd
Fix bsl validation bug
...
Fix bsl validation bug: the BSL is validated continually and doesn't respect the validation period configured
Fixes #5056
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-07-06 14:20:03 +08:00
niulechuan
fb897471c0
Move 'velero.io/exclude-from-backup' label string to const ( #5053 )
...
* move 'velero.io/exclude-from-backup' label name to const
Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io >
* add changelog file (in changelogs/unreleased) of this PR
Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io >
2022-07-04 14:31:20 +08:00
Scott Seago
6378c266c3
Merge pull request #4980 from anshulahuja98/main
...
Add support to download CSI json from object store
2022-06-16 10:37:55 -04:00
Scott Seago
79be75e183
When spec.RestoreStatus is empty, don't restore status
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2022-06-15 13:02:31 -04:00
Anshul Ahuja
7b51bfe03d
Merge branch 'main' into main
2022-06-15 14:16:38 +05:30
Anshul Ahuja
a0ff46a3de
Add kubebuilder annotation for autogen
...
Signed-off-by: GitHub <noreply@github.com >
2022-06-13 13:28:26 +00:00
Anshul Ahuja
735d506a7d
Add support to download CSI json from object store
...
Signed-off-by: GitHub <noreply@github.com >
2022-06-13 13:28:26 +00:00
Xun Jiang
806234e043
Add more information for failing to get path or snapshot in restic backup and restore.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-06-13 11:32:55 +08:00