Abigail McCarthy
f0542047b8
minor typo fixes
...
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2022-01-07 09:20:27 -05:00
Abigail McCarthy
527af08315
readme changes
...
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2022-01-06 14:21:32 -05:00
Abigail McCarthy
b82559fe7c
Add kubernetes version compatability matrix
...
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2022-01-06 14:20:41 -05: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
Abigail McCarthy
7e76bb9f98
Update CSI docs with more context
...
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2022-01-05 13:43:39 -05:00
Wenkai Yin(尹文开)
b6992101a4
Merge pull request #4480 from qiuming-best/optimize-ns-test
...
Fix e2e 2500 namespaces scale test timeout problem
2022-01-04 16:22:00 +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(尹文开)
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(尹文开)
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
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
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(尹文开)
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
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
Wenkai Yin(尹文开)
d627362abd
Merge pull request #4457 from blackpiglet/revert-4423-backup-sync-controller-to-kubebuilder
...
Revert "Migrate backup sync controller from code-generator to kubebui…
2021-12-20 11:10:26 +08:00
Wenkai Yin(尹文开)
26c668e511
Merge pull request #4442 from a-mccarthy/fix-4352
...
Add defaultVolumesToRestic to schedule api docs
2021-12-20 11:09:26 +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
Abigail McCarthy
37f8be093f
Update code standards to direct folks to create changelogs on release… ( #4443 )
...
* Update code standards to direct folks to create changelogs on release branches
* Fix wording
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2021-12-16 23:54:11 +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
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
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
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
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
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
Scott Seago
3445c402a9
Merge pull request #4446 from blackpiglet/4389-remove-crds-version
...
fix: remove --crds-version in velero install command
2021-12-13 08:58:56 -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
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
Abigail McCarthy
4173c54662
Add defaultVolumesToRestic to schedule api docs
...
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2021-12-10 09:19:44 -05:00
Wenkai Yin(尹文开)
ab7efe7794
Merge pull request #4438 from qiuming-best/resource-filtering-test
...
Fix e2e test failures for the inappropriate optimaze of velero install
2021-12-10 14:00:38 +08:00
ming qiu
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
Wenkai Yin(尹文开)
edbd2f7231
Merge pull request #4437 from qiuming-best/resource-filtering
...
Limit backup namespaces on test resource filtering cases
2021-12-09 14:15:18 +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(尹文开)
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
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
Abigail McCarthy
2f8931ed22
Merge pull request #4221 from JGodin-C2C/main
...
feat: improve documentation for reverse selector
2021-12-06 11:31:13 -05:00
Julien Godin
3e86bf0cc8
feat: improve documentation for reverse selector
...
Signed-off-by: Julien Godin <julien.godin@camptocamp.com>
2021-12-06 14:36:31 +01: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
ebccca0f1b
Merge pull request #4404 from qiuming-best/resource-filtering
...
Add resource filtering test cases
2021-12-06 15:02:53 +08:00
Ming
0c8063cfd2
Add resoure filtering test cases
...
Signed-off-by: Ming <mqiu@vmware.com>
2021-12-04 22:47:46 +08:00
David L. Smith-Uchida
91ea996aaa
Added ItemSnapshotter to the plugin server framework. ( #4417 )
...
Signed-off-by: Dave Smith-Uchida <dsmithuchida@vmware.com>
2021-12-02 14:01:40 -05:00
Neha Viswanathan
dd3206c544
update documentation ( #4378 )
...
Signed-off-by: Neha Viswanathan <itsnehavis@gmail.com>
2021-12-02 13:57:59 -05:00
Wenkai Yin(尹文开)
74e9c43514
Merge pull request #4397 from reasonerjt/fix-3516
...
Add restoreactionitem plugin to handle admission webhook configurations
2021-12-01 14:13:16 +08:00
Daniel Jiang
2a7d4cec6e
Add restoreactionitem plugin to handle admission webhook configurations
...
This commit adds a restore action item plugin to reset invalid value
of "sideEffects" in resource of mutatingwebhookconfiguration and
validating webhookconfiguration.
To fix the problem the "sideEffects" is illegal for resource migrated
from v1beta1.
fixes #3516
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-12-01 00:48:06 +08:00
Aditya Sharma
47aa093a16
Build for darwin_arm64 ( #4409 )
...
Signed-off-by: Aditya Sharma <git@adi.run>
2021-11-30 11:27:29 -05:00
Daniel Jiang
02013ef335
Merge pull request #4382 from blackpiglet/4369-bsl-from-kubebuilder-v2-to-v3
...
feat: migrate velero controller from kubebuilder v2 to v3
2021-11-24 09:35:39 +08:00
Xun Jiang
303d3dcad3
feat: migrate kubebuilder from v2 to v3
...
1. remove config/crd/v1beta1
2. remove PROJECT file
3. update controller-gen and kubebuilder version
4. generate client and CRD file
5. add changelog and remove v1beta1 CRD generated code.
6. add kubebuilder test bundle setup command.
7. due to apiextensions.k8s.io/v1beta1 is not supported, only k8s after v1.16 is supported, so remove v1.15 check.
8. add CRD and k8s suppored version update in changelog.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2021-11-23 19:32:19 +08:00