Xun Jiang/Bruce Jiang and GitHub
25402b6209
[1.18] Deprecate inactive maintained packages ( #9912 )
...
Run the E2E test on kind / get-go-version (push) Successful in 59s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Main CI / get-go-version (push) Successful in 14s
Run the E2E test on kind / build (push) Failing after 1m48s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 25s
* Replace github.com/robfig/cron/v3 by github.com/netresearch/go-cron
Replace k8s.io/utils/pointer with k8s.io/utils/ptr
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
* Replace gopkg.in/yaml.v3 by go.yaml.in/yaml/v3
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
* Replace github.com/joho/godotenv.
Move the needed code into Velero repository.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
* Replace github.com/pkg/errors by github.com/cockroachdb/errors
Change errors.Cause to errors.Is, because github.com/cockroachdb/errors
New() function create a error with error stack with depth 1, but
github.com/pkg/errors's New() function create error with no depth.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
---------
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com >
2026-07-10 11:20:34 +08: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
Tiger Kaovilai
3c243653c4
Add confirm flag to velero plugin add
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-03-26 05:56:11 +07:00
Xun Jiang
7aaf62442a
Add ParallelFilesUpload for schedule creation.
...
Modify restore-helper print information.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-01-31 07:52:11 +08:00
Xun Jiang
6222891d5b
Fix shedule get and describe CLI issue.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-12-18 16:41:10 +08:00
Tiger Kaovilai
e4bd59727f
Schedule SkipImmediately
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-12-08 09:12:08 +07:00
Xun Jiang
56b5e982d9
Remove dependency of generated client part 3
...
Replace generated discovery client with client-go client.
Remove generated client from PVR action.
Remove generated client from pkg/cmd directory.
Delete velero generate client from client factory.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-06 11:34:39 +08:00
Wenkai Yin(尹文开) and GitHub
563f1ccee1
Merge pull request #6475 from nilesh-akhade/main
...
Add `--or-selector` for backup and restore command
2023-09-27 20:09:07 +08:00
Wenkai Yin(尹文开) and GitHub
185a95585a
Set data mover related properties for schedule ( #6824 )
...
Set data mover related properties for schedule
Fixes #6820
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-09-14 18:14:06 +08:00
Nilesh Akhade
d9a7e2b6ca
Add 'orLabelSelector' for backup, restore command
...
Signed-off-by: Nilesh Akhade <nakhade@catalogicsoftware.com >
2023-07-19 16:16:35 +05:30
Xun Jiang
89d3ad4864
Remove dependency of the legacy client code from pkg/cmd directory.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-07-14 15:55:09 +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
15d44724e7
Modify golangci.yaml file. Resolve found lint issues. ( #6008 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Co-authored-by: Xun Jiang <blackpiglet@gmail.com >
2023-03-24 12:15:08 +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
Fish-pro and GitHub
ef05af13bf
Clean up unused variables and functions ( #5818 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io >
2023-02-09 10:53:24 +08:00
Lyndon-Li
c92f06ef17
fix lint loop iterator problem
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-10-18 22:40:48 +08:00
Lyndon-Li
d7b4583b2b
fix lint errors
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-10-18 21:53:47 +08: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
Wenkai Yin(尹文开)
4b9dbfa416
Support pause/unpause schedules
...
Support pause/unpause schedule
Fixes #2363
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-09-15 10:42:48 +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
8c2a07b906
Update --use-owner-references-in-backup description in velero command line
...
Specify the risk of this parameter set to true. Add the issue first reported about this topic which includeds the google document illustrates about it.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-02-21 22:37:48 +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
JenTing Hsiao and GitHub
4ae55bb20a
Capitalize all help messages ( #3209 )
...
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com >
2021-01-05 16:36:15 -08:00
matheusjuvelino and GitHub
73693de5a3
issue: add flag to the schedule cmd to configure the useOwnerReferencesInBackup option #3176 ( #3182 )
...
* resolve : #3176
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* created changelog
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
* fixed use-owner-rferences-in-backup flag for use-owner-references-in-backup
Signed-off-by: matheusjuvelino <matheus.juvelino@outlook.com >
2020-12-14 19:30:35 -05:00
JenTing Hsiao and GitHub
7f2de65b5b
feat: add delete sub-command for backup-location ( #3073 )
...
* feat: add delete sub-command for backup-location
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com >
* Change to use kubebuilder/runtimecontroller API
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com >
* fix get BSL by label doesn't work
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com >
* Update changelog
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com >
* Ordering by alphabet
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com >
* Better example format for help message
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com >
* Capital the comments
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com >
2020-11-30 13:59:42 -05:00
827d5d34f5
Improve and clarify cmd help documentation, flags, and examples ( #2736 )
...
* capitalize `backup create` cmd comments & examples
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* update copyright and capitilize flags and comments
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* update copyright and capitilize flags and comments
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* update copyright and capitilize flags and comments
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* update backuplocation, restic, & restore cmd doc
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* fix local typo
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* update copyrights & capitalize pflag/help strings
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* update copyright in utils dir
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* Revert "update copyright in utils dir"
This reverts commit d116efe3a3 .
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* revert copyright changes
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* restore missing file
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* revert copyright changes
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
* add cacert flag back
Signed-off-by: Jason Scarano <scaranoj@vmware.com >
Co-authored-by: Carlisia Campos <carlisia@vmware.com >
2020-08-12 18:13:44 -04:00
Ashish Amarnath and GitHub
9eca0fcbff
Pass default-volumes-to-restic flag from create schedule to backup ( #2776 )
...
* Pass default-volumes-to-restic flag from create schedule to backup
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-08-12 12:09:07 -07:00
Andrew Lavery and GitHub
a368370bef
k8s 1.18 import ( #2651 )
...
* k8s 1.18 import wip
backup, cmd, controller, generated, restic, restore, serverstatusrequest, test and util
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* go mod tidy
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* add changelog file
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* go fmt
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* update code-generator and controller-gen in CI
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* checkout proper code-generator version, regen
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* fix remaining calls
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* regenerate CRDs with ./hack/update-generated-crd-code.sh
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* use existing context in restic and server
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* fix test cases by resetting resource version
also use main library go context, not golang.org/x/net/context, in pkg/restore/restore.go
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* clarify changelog message
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* use github.com/kubernetes-csi/external-snapshotter/v2@v2.2.0-rc1
Signed-off-by: Andrew Lavery <laverya@umich.edu >
* run 'go mod tidy' to remove old external-snapshotter version
Signed-off-by: Andrew Lavery <laverya@umich.edu >
2020-07-16 12:21:37 -04:00
94a9522f75
updated acceptable values on cron schedule for day of the week from 0-7 to 0-6 ( #2676 )
...
* updated acceptable values on cron schedule for day of the week from 0-7 to 0-6
Signed-off-by: Daniel Thrasher <dannythrasher@gmail.com >
* added a changelog file to changelog directory
Signed-off-by: Daniel Thrasher <dannythrasher@gmail.com >
Co-authored-by: Daniel Thrasher <dannythrasher@gmail.com >
2020-07-06 17:14:44 -04: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
Steve Kriss and Adnan Abdulhussein
3c4dd3e526
fix typo in schedule create example ( #1693 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-07-23 11:02:38 -07:00
Steve Kriss and KubeKween
bf00754280
fix schedule create examples to use hours as units ( #1625 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-07-03 12:20:49 -07:00
Nolan Brubaker and KubeKween
b3c6e5e483
Add more examples to schedule create ( #1473 )
...
Partially addresses #1464
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-05-13 09:25:25 -07:00
Steve Kriss and KubeKween
a111eed2af
update license headers to Velero contributors ( #1302 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2019-03-20 12:32:48 -07:00
Naeil ZOUEIDI
988ce573c0
Add UTC time to --schedule
...
Signed-off-by: Naeil Ezzoueidi <naeilzoueidi@ubuntu.com >
2019-02-12 11:04:10 -05:00
Nolan Brubaker and Andy Goldstein
43714caaec
Rename Ark to Velero!!!
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2019-02-04 17:35:22 -05:00
Jon Whitcraft
f983f4fb21
Fix output of Schedule Delete
...
It should be `\n` and not `/n/` when doing the printf on a schedule delete.
Signed-off-by: Jon Whitcraft <jwhitcraft@mac.com >
2018-12-06 15:33:14 -05:00
Andy Goldstein
bca585162f
Run 'make update' to update formatting
...
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-10-23 13:08:42 -04:00
Steve Kriss
38c72b8cc2
include snapshot locations in created schedule's backup spec
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-10-17 13:40:41 -06:00
captjt
ebc379ac02
Add --include-cluster-resources options when creating schedule
...
Signed-off-by: captjt <jtaylor007.jt@gmail.com >
2018-10-16 15:52:18 -04:00
Shubheksha Jalan
66bcbc058c
add support for bulk deletion to ark schedule delete
...
refactor and move DeleteOptions struct and methods
unexport fields not used outside the package in DeleteOptions struct
refactor BindFlags() to work with name of command
fix constructor
Signed-off-by: Shubheksha Jalan <jshubheksha@gmail.com >
2018-10-05 19:45:18 +02:00
Zsolt Varga
211aa7b7fd
Set schedule labels to subsequent backups
...
Signed-off-by: Zsolt Varga <zsolt.varga@console.hu >
2018-09-06 10:06:18 +02:00
Nolan Brubaker and Steve Kriss
2a34772ed5
Add --storage-location argument to create commands
...
Closes #738
Signed-off-by: Nolan Brubaker <nolan@heptio.com >
2018-08-28 13:14:51 -07:00
Steve Kriss
c60e47dedd
use cobra's arg-count validation & call Complete() before Validate()
...
Signed-off-by: Steve Kriss <steve@heptio.com >
2018-04-03 09:45:29 -07:00
Josh Hull
f733869142
Include cron examples for schedule creation
...
Signed-off-by: Josh Hull <josh.hull@lypht.com >
2018-02-28 16:50:52 -06:00
Andy Goldstein
816f14c0b4
Support running in any namespace
...
Add the ability for the Ark server to run in any namespace.
Add `ark client config get/set` for manipulating the new client
configuration file in $HOME/.config/ark/config.json. This holds client
defaults, such as the Ark server's namespace (to avoid having to specify
the --namespace flag all the time).
Add a --namespace flag to all client commands.
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com >
2018-01-05 16:51:59 -05:00
Andy Goldstein and GitHub
6b0b6373da
Merge pull request #252 from skriss/delete-backup
...
add delete backup cmd using finalizer and simplify GC process
2018-01-02 14:26:03 -05:00