Daniel Jiang and GitHub
e4292965da
Merge pull request #4656 from a-mccarthy/release-notes-edits
...
Copy edits for 1.8 release notes
2022-02-17 10:05:58 +08:00
Daniel Jiang and GitHub
3db8798525
Merge pull request #4658 from dsu-igeek/dsu-changelog-1.8-update
...
Updates to 1.8 changelog
2022-02-17 10:00:01 +08:00
David L. Smith-Uchida
926f40170d
Updates to 1.8 changelog
...
Signed-off-by: David L. Smith-Uchida <dave@kasten.io >
2022-02-16 10:30:16 -08:00
Abigail McCarthy
bdcb6d3e98
Copy edits for 1.8 release notes
...
Signed-off-by: Abigail McCarthy <mabigail@vmware.com >
2022-02-16 11:53:09 -05:00
Daniel Jiang and GitHub
b9d4fe86cf
Merge pull request #4654 from ywk253100/220216_release_note
...
Update release note to reflect the fix for #1980
2022-02-16 14:11:46 +08:00
Wenkai Yin(尹文开)
9fd241a1a0
Update release note to reflect the fix for #1980
...
Update release note to reflect the fix for #1980
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-02-16 08:27:44 +08:00
bynare and GitHub
768a30618f
restic backupper: ignore volumes of non-running pods ( #4584 )
2022-02-16 05:34:58 +08:00
frankly_coding and GitHub
5ca5b884c1
Merge branch '1.8-release-note' into 1.8-release-note
2022-02-15 10:56:31 -08:00
F. Gold
e3685786fa
Add delete BSL cleanup highlight and fixed grammar in heading
...
Signed-off-by: F. Gold <fgold@vmware.com >
2022-02-15 10:53:46 -08:00
Daniel Jiang
70d12ea16e
Refine the release note of v1.8
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-02-15 22:55:12 +08:00
Xun Jiang
9419aa91a7
Update e2e test image to gcr.io
...
By now, only busybox:latest is used by e2e. It is already upload to gcr.io/velero-gcp/busybox:latest
Change the image to gcr.io to avoid pulling rate limitation from docker hub.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-02-14 20:55:34 +08:00
Ming
6a61a418ca
Fix E2E backup namespaces test
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-02-14 17:41:28 +08:00
Dominic Brekau and GitHub
5fa7d08fa1
Use OrderedResources in schedules ( #4550 )
...
* Use OrderedResources in schedules
Make ParseOrderedResources public for use in schedules
Add changelog
Signed-off-by: Dominic <dominic@xdnx.org >
* Rename function in comment section
Signed-off-by: Dominic <dominic@xdnx.org >
2022-01-29 15:47:55 +08:00
Ming
e4046017db
E2E SSR test add retry mechanism and logs
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-01-28 18:51:46 +08:00
Daniel Jiang and GitHub
2cbb881285
Merge pull request #4497 from dkeven/filterunmountedvol
...
Fix: skip not mounted volumes when backing up
2022-01-24 14:40:18 +08:00
Ming
caa80db92c
Add E2E test of backups sync from BSL
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-01-19 15:09:02 +08:00
dkeven
1e44edce67
Fix: skip not mounted volumes when backing up
...
Signed-off-by: dkeven <keven@kubesphere.io >
2022-01-18 17:53:01 +08:00
Daniel Jiang and GitHub
459365013c
Update changelog for v1.8.0 ( #4530 )
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-01-14 09:20:53 -05:00
Daniel Jiang
7a5ae101e6
Update doc for v1.8
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2022-01-14 01:12:10 +08:00
qiuming and GitHub
595e62ee7e
Merge pull request #4521 from qiuming-best/ssr-test
...
E2E test on ssr object with controller namespace mix-ups
2022-01-13 14:31:56 +08:00
Ming
f36161eeee
E2E test on ssr object with controller namespace mix-ups
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-01-13 14:10:37 +08:00
Wenkai Yin(尹文开)
fcad46ccdf
Check whether the volume is provisioned by CSI driver or not by the annotation as well
...
Check whether the volume is provisioned by CSI driver or not by the annotation as well
Fixes #4496
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-01-12 19:05:33 +08:00
Wenkai Yin(尹文开)
6c1f16a735
Initialize the labels field of velero backup-location create option
...
Initialize the labels field of `velero backup-location create` option to avoid #4484
Fixes #4484
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-01-06 10:35:39 +08:00
Ming
97b106d1a3
Fix e2e 2500 namespaces scale test timeout problem
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-01-04 15:24:14 +08:00
Wenkai Yin(尹文开) and GitHub
3feb259235
Merge pull request #4401 from danfengliu/add-backup-deletion-e2e-test-to-main
...
Add backup deletion e2e test
2021-12-24 16:04:08 +08:00
danfengl
29b2cd1883
Add backup deletion e2e test
...
Test case description is "Deleted backups are deleted from object storage and backups deleted from object storage can be deleted locally",
in this test, only resource backup objects are target for verifition, restic repo verification is not included in this PR, and snapshot verification will be in later PR
Signed-off-by: danfengl <danfengl@vmware.com >
2021-12-23 12:45:31 +00:00
Wenkai Yin(尹文开) and GitHub
72fc1d2c0b
Parse resource from backup tarball directly rather than resolving it via discovery service to avoid #4009 ( #4398 )
2021-12-21 19:28:55 +08:00
qiuming and GitHub
6be36c2aa4
Merge pull request #4455 from qiuming-best/rbac-test
...
Add rbac and annotation test cases
2021-12-21 16:12:20 +08:00
Daniel Jiang and GitHub
7c2dc143d5
Merge pull request #4391 from ywk253100/211123_anno
...
Keep the annotation "pv.kubernetes.io/provisioned-by" when restoring PVs
2021-12-21 11:08:25 +08:00
Wenkai Yin(尹文开)
648f3ac228
Keep the annotation "pv.kubernetes.io/provisioned-by" when restoring PVs
...
More details please refer to https://github.com/vmware-tanzu/velero/issues/3470#issuecomment-976279606
Fixes #3470
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2021-12-21 09:52:56 +08:00
Wenkai Yin(尹文开) and GitHub
c7cd95a374
Ignore the provided port is already allocated error when restoring the LoadBalancer service ( #4462 )
...
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2021-12-21 05:42:27 +08:00
Daniel Jiang and GitHub
d7aa82d8ed
Return the error when getting backup store in backup deletion controller ( #4465 )
...
Per discussion in
https://github.com/vmware-tanzu/velero/issues/4260#issuecomment-947721686
https://github.com/vmware-tanzu/velero/issues/4260#issuecomment-951347384
return the error to avoid a panic when downloading the backup tarball
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2021-12-21 05:38:13 +08:00
Xun Jiang
bdde7585c8
Add changelog.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2021-12-17 16:16:03 +08:00
Xun Jiang
7ab4bfc632
Revert "Migrate backup sync controller from code-generator to kubebuilder ( #4423 )"
...
This reverts commit 5aaeb3ebbe .
2021-12-17 09:40:24 +08:00
Ming
be752dd8d9
Add rbac and annotation test cases
...
Signed-off-by: Ming <mqiu@vmware.com >
2021-12-16 18:02:24 +08:00
Box-Cube and GitHub
69f6c8d0cd
Fix statefulsets volumeClaimTemplates storageClassName after use Changing PV/PVC Storage Classes ( #4375 )
...
* fix statefulsets volumeClaimTemplates storageClassName after use Changing PV/PVC Storage Classes
Signed-off-by: Box-Cube <64300761+Box-Cube@users.noreply.github.com >
* Fix (vmware-tanzu#4373)
Signed-off-by: Box-Cube <64300761+Box-Cube@users.noreply.github.com >
* Fix StatefulSet volumeClaimTemplates storageClassName(vmware-tanzu#4373)
Signed-off-by: Box-Cube <64300761+Box-Cube@users.noreply.github.com >
* Fix StatefulSet volumeClaimTemplates storageClassName(vmware-tanzu#4373)
Signed-off-by: Box-Cube <64300761+Box-Cube@users.noreply.github.com >
* Fix StatefulSet volumeClaimTemplates storageClassName(vmware-tanzu#4373)
Signed-off-by: Box-Cube <64300761+Box-Cube@users.noreply.github.com >
* Change the isStorageClassExist logic
Signed-off-by: Box-Cube <64300761+Box-Cube@users.noreply.github.com >
* Fix StatefulSet volumeClaimTemplates storageClassName(vmware-tanzu#4373)
Signed-off-by: Box-Cube <64300761+Box-Cube@users.noreply.github.com >
2021-12-16 14:50:56 +08:00
qiuming and GitHub
e350ce5bb4
Merge pull request #4440 from qiuming-best/upgrade-e2e-vsphere-plugin
...
Upgrade e2e test vsphere plugin
2021-12-16 09:45:06 +08:00
Ming
d8b1ed7dba
Upgrade e2e test vsphere plugin
...
Signed-off-by: Ming <mqiu@vmware.com >
2021-12-15 17:44:57 +08:00
Xun Jiang/Bruce Jiang and GitHub
5aaeb3ebbe
Migrate backup sync controller from code-generator to kubebuilder ( #4423 )
...
* Migrate backup sync controller from code-generator to kubebuilder
1. use kubebuilder's reconcile logic to replace controller's old logic.
2. use ginkgo and gomega to replace testing.
Signed-off-by: Xun Jiang <jxun@vmware.com >
* Fix: modify code according to comments
1. Remove DefaultBackupLocation
2. Remove unneccessary comment line
3. Add syncPeriod default value setting logic
4. Modify ListBackupStorageLocations function's context parameter
5. Add RequeueAfter parameter in Reconcile function return value
Signed-off-by: Xun Jiang <jxun@vmware.com >
* Reconcile function use context passed from parameter
1. Use context passed from parameter, instead of using Reconciler struct's context.
2. Delete Reconciler struct's context member.
3. Modify test case accordingly.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2021-12-14 20:07:20 -05:00
Frangipani Gold and GitHub
d3c7ef09cb
Remove backups and restic repos associated with deleted BSL(s) ( #4377 )
...
* Remove backups and restic repos associated with deleted BSL(s)
Signed-off-by: F. Gold <fgold@vmware.com >
* add changelog
Signed-off-by: F. Gold <fgold@vmware.com >
* Add PR number to changelog
Signed-off-by: F. Gold <fgold@vmware.com >
* Fix typo
Signed-off-by: F. Gold <fgold@vmware.com >
* Only delete backups and restic repos and report success when without errors
Signed-off-by: F. Gold <fgold@vmware.com >
2021-12-13 16:09:24 -08:00
David L. Smith-Uchida and GitHub
a1b48ceac5
Adds <backup-name>-itemsnapshots.gz file to backup (when provided). ( #4429 )
...
* Adds <backup-name>-itemsnapshots.gz file to backup (when provided). Also
adds DownloadTargetKindBackupItemSnapshots type to allow downloading.
Updated object store unit test
Fixes #3758
Signed-off-by: Dave Smith-Uchida <dsmithuchida@vmware.com >
* Removed redundant checks
Signed-off-by: Dave Smith-Uchida <dsmithuchida@vmware.com >
2021-12-13 14:47:50 -05:00
Xun Jiang
706d142096
fix: remove --crds-version in velero install command
...
Due to only v1 CRD is supported in velero version 1.8, remove CRDs version choosing option.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2021-12-13 21:02:56 +08:00
David L. Smith-Uchida and GitHub
5677e04bb1
Consolidated code for resolving actions and plugins into ActionResolver ( #4410 )
...
* Consolidated code for resolving actions and plugins into ActionResolver. Added BackupWithResolvers and
RestoreWithResolvers. Introduces ItemSnapshooterResolver to bring ItemSnapshotter plugins into backup and
restore. ItemSnapshotters are not used yet.
Added action_resolver_test
Signed-off-by: Dave Smith-Uchida <dsmithuchida@vmware.com >
* Addressed review comments
Signed-off-by: Dave Smith-Uchida <dsmithuchida@vmware.com >
2021-12-10 12:53:47 -05:00
ming qiu and Ming
d1e2c7b476
Fix e2e test failures for the inappropriate optimaze of velero install
...
Signed-off-by: ming qiu <mqiu@mqiu-a01.vmware.com >
2021-12-10 11:10:51 +08:00
ming qiu
c58fc1445e
Limit backup namespaces on test resource filtering cases
...
Signed-off-by: ming qiu <mqiu@mqiu-a01.vmware.com >
2021-12-09 11:48:32 +08:00
Wenkai Yin(尹文开) and GitHub
769af3f7b8
Merge pull request #4416 from dsu-igeek/dsu-upload-progress-feature-flag-12-01-2021
...
Added UploadProgressFeature flag to enable UploadProgressMonitoring
2021-12-08 09:33:36 +08:00
Dave Smith-Uchida
d0e660f435
Added UploadProgressFeature flag to enable UploadProgressMonitoring and ItemSnapshotters
...
Signed-off-by: Dave Smith-Uchida <dsmithuchida@vmware.com >
2021-12-07 00:06:36 -08:00
Scott Seago and GitHub
d9f8abcd27
Merge pull request #4431 from reasonerjt/bump-up-go-1.17
...
Bump up Go to 1.17
2021-12-06 11:48:16 -05:00
Daniel Jiang
a3d196ee85
Bump up Go to 1.17
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2021-12-06 20:16:24 +08:00
qiuming and GitHub
ebccca0f1b
Merge pull request #4404 from qiuming-best/resource-filtering
...
Add resource filtering test cases
2021-12-06 15:02:53 +08:00