5691f7f29d
Support overriding Schedule annotations via template.metadata.annotations ( #10045 )
...
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
e2e-test-kind.yaml / extract (push) Failing after 13s
Run the E2E test on kind / get-go-version (push) Failing after 14s
Run the E2E test on kind / build (push) Skipped
Run the E2E test on kind / run-e2e-test (push) Skipped
push.yml / extract (push) Successful in 14s
Main CI / get-go-version (push) Successful in 16s
Main CI / Build (push) Failing after 2m46s
* Support overriding Schedule annotations via template.metadata.annotations
Adds an Annotations field to BackupSpec.Metadata, mirroring the existing
Labels override. When Schedule.Spec.Template.Metadata.Annotations is set,
it is used for the resulting Backup's annotations instead of copying
Schedule.Annotations directly, allowing users to opt out of unwanted
annotations (e.g. ArgoCD tracking annotations) being propagated from
Schedule to Backup.
Fixes #5836
Signed-off-by: Lubron Zhan <lubronzhan@gmail.com >
* Rename changelog fragment to match PR number 10045
Signed-off-by: Lubron Zhan <lubronzhan@gmail.com >
---------
Signed-off-by: Lubron Zhan <lubronzhan@gmail.com >
Co-authored-by: Daniel Jiang <daniel.jiang@broadcom.com >
2026-07-29 15:55:51 +08:00
Xun Jiang
d82c552aaa
Add BackupType in backup.spec.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-07-15 08:35:06 +00:00
Scott Seago
e0c08f03cf
add various scenarios to queue controller unit tests
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-12-02 16:38:41 -05:00
Shubham Pampattiwar and GitHub
d2c6b6bc3e
Add support for configuring VGS label key ( #8938 )
...
Run the E2E test on kind / build (push) Failing after 6m38s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 31s
Close stale issues and PRs / stale (push) Successful in 10s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m17s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m40s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 45s
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-05-30 11:03:47 -04:00
Matthieu MOREL and GitHub
c6a420bd3a
chore: define common aliases for k8s packages ( #8672 )
...
Run the E2E test on kind / build (push) Failing after 6m48s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 35s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m11s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 47s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 43s
* lchore: define common alias for k8s packages
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-04-22 06:14:47 -04:00
Ming Qiu
1a237d3e4c
Update API
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-12-06 08:59:12 +00:00
Ming Qiu
0afaa70e9b
Merge branch 'main' of https://github.com/qiuming-best/velero into support-restore-sparse
2023-11-30 10:55:55 +00:00
Ming Qiu
b57dde1572
Allow sparse option for Kopia & Restic restore
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-11-28 13:48:09 +00:00
Ming Qiu
fea22bbbc9
Merge branch 'main' of https://github.com/qiuming-best/velero into kopia-parallelism
2023-11-22 01:42:39 +00:00
Tiger Kaovilai
886e074b55
Add PatchResource unit test for backup status
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-01 15:28:56 -04:00
Ming
481cb60493
Make Kopia file parallelism configurable
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-10-26 02:28:36 +00:00
Wenkai Yin(尹文开)
9f2f563568
Add data mover related options in CLI
...
Add data mover related options in CLI
Fixes #6128
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-06-07 16:34:40 +08:00
Xun Jiang
443f732e51
Enable more linters, and remove mal-functioned milestoned issue action.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-25 23:31:51 +08:00
Xun Jiang
56f93393d8
Modify new scope resource filters name.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-06 18:11:55 +08:00
Ming
a3cef5b0d3
Adjust match resource policies
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-03-23 03:48:26 +00:00
qiuming and GitHub
086dbd344f
Handle backup of volume by resource policies ( #5901 )
...
* Handle backup of volume by resource policies
Signed-off-by: Ming <mqiu@vmware.com >
2023-03-21 14:39:25 +08:00
Xun Jiang
a1e4f54488
Add new resource filters can separate cluster and namespace scope resources.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-03-14 07:07:22 +00:00
Scott Seago
c3d1d83da5
BIAv2 async operations controller work
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2023-03-01 11:49:17 -05:00
lyndon and GitHub
c81f0db886
rename pvbr param ( #5370 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-23 09:13:36 +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
Shubham Pampattiwar
bfdb68a35a
add multiple label selector support to backup API
...
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
remove backup CLI bits
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
labelselectors spec option for velero restore
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
update spec name to OrLabelSelectors
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
minor fixes
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
add validations for labelSelector and orLabelSelectors
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
update crds.gp after fixing conflicts
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
fix CI and add unit tests
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
updated OrLabelSelector spec description and added validation failure unit tests
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
add comments and change log level
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
update site docs
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
wrap pager client calls in a function
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
resolve confilcts and update crds.go
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
rebase and update crds.go
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
combine listing items for a given label
Signed-off-by: Shubham Pampattiwar <shubhampampattiwar7@gmail.com >
2022-05-11 09:57:47 -04:00
ae6e1df9aa
Add Labels field to BackupSpec ( #3641 )
...
* Add metadata.Labels to schedule.Spec.Template and it's copy logic to Backup
Signed-off-by: Arush Salil <me@aru.sh >
* document metadata.labels
Signed-off-by: Klavs Klavsen <klavs@enableit.dk >
* adjust text per suggestion.
Signed-off-by: Klavs Klavsen <klavs@enableit.dk >
* Rewrite labels copy logic, add comments, and debug log messages
Signed-off-by: Arush Salil <me@aru.sh >
* Rephrase label copy debug log
Signed-off-by: Arush Salil <me@aru.sh >
* Add initialized logger to FromSchedule
Signed-off-by: Arush Salil <me@aru.sh >
* use info log level per request.
Signed-off-by: Klavs Klavsen <klavs@enableit.dk >
Co-authored-by: Klavs Klavsen <klavs@enableit.dk >
2021-06-17 11:18:37 -07:00
matheusjuvelino and GitHub
309d3dcf0a
Owner reference in backup when created from schedule ( #3127 )
...
* added useOwnerReferencesInBackup to crd velerio.io_schedules
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* added UseOwnerReferencesInBackup property to schedule.go
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* deepcopy schedule configured for reference the property UseOwnerReferencesInBackup
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* added UseOwnerReferencesInBackup property verification to modify OwnerReferences from backup
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* created changelog
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* removed deepcopy schedule configured for reference the property UseOwnerReferencesInBackup
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* running make update
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* running make update
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* updated the year at the top of the schedule.go file for 2020
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
2020-12-11 13:10:34 -05:00
8c8385aabb
pass annotations from scheduler to created backup ( #3067 )
...
* pass annotations from scheduler to created backup
Signed-off-by: Michael <michael.ketslah@tufin.com >
* add change log
Signed-off-by: Michael <michael.ketslah@tufin.com >
* add test for annotations in controller
Signed-off-by: Michael <michael.ketslah@tufin.com >
* If no annotations are set - do not copy empty list
Signed-off-by: Michael <michael.ketslah@tufin.com >
* remove unneeded var
Signed-off-by: Michael <michael.ketslah@tufin.com >
* add empty annotations and actually check annotations in backups
Signed-off-by: Michael <michael.ketslah@tufin.com >
* add empty missing label and empty annotations
Signed-off-by: Michael <michael.ketslah@tufin.com >
* revert empty annotations as seems they are nil as expected
Signed-off-by: Michael <michael.ketslah@tufin.com >
* fix typo in changelog
Signed-off-by: Michael <michael.ketslah@tufin.com >
Co-authored-by: Michael <michael.ketslah@tufin.com >
2020-11-19 13:19:42 -08:00
14170b52a8
Enhance Backup to backup resources in specific order. ( #2724 )
...
Signed-off-by: Phuong Hoang <phuong.n.hoang@dell.com >
Co-authored-by: Phuong Hoang <phuong.n.hoang@dell.com >
2020-08-12 17:17:31 -07:00
Ashish Amarnath
e5e7c025dd
fix copyright boilerplate
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-06-18 14:14:15 -07:00
Ashish Amarnath
b0fd3d35c1
rename field
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-06-15 15:26:44 -07:00
Ashish Amarnath
f34aab251e
add default restic flag to backup create cli
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-06-15 14:46:06 -07:00
Steve Kriss
71201fe929
extract helper func and add unit tests
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-01-21 13:21:28 -07:00
Adnan Abdulhussein and Steve Kriss
e3d64d9dd9
use pointer types for metav1.Time fields ( #1951 )
...
* use pointer types for metav1.Time fields
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* simpler metav1.Time ptrs
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
* remove test debug println
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-10-14 10:20:28 -06:00
Steve Kriss and Nolan Brubaker
48792ece1f
Updates for org move to vmware-tanzu ( #1920 )
...
* update import paths to github.com/vmware-tanzu/...
Signed-off-by: Steve Kriss <krisss@vmware.com >
* update other GH org refs to vmware-tanzu
Signed-off-by: Steve Kriss <krisss@vmware.com >
* site and docs: update GH org to vmware-tanzu
Signed-off-by: Steve Kriss <krisss@vmware.com >
* update travis badge links on docs readmes
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-09-30 17:26:56 -04:00
Adnan Abdulhussein and KubeKween
6aa0215137
create backups from schedules using velero create backup ( #1734 )
...
* add --from-schedule to `velero backup create` to create backups from schedules
Signed-off-by: Adnan Abdulhussein <aadnan@vmware.com >
2019-08-23 13:03:51 -07:00
Steve Kriss and KubeKween
4543258970
Update tests to use object builders in pkg/builder ( #1707 )
...
* add pkg/builder with BackupBuilder and ObjectMeta functional options
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-07-31 07:46:48 -07:00