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
Wenkai Yin(尹文开)
8752c3a820
Bump up the versions of severel Kubernetes-related libs
...
Bump up the versions of severel Kubernetes-related libs
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-03-05 13:09:38 +08:00
qiuming and GitHub
0e5022254f
[Cherry-pick Main] Fix velero uninstall bug ( #6729 )
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-08-31 16:15:24 +08:00
Ming
85d5785d68
[Cherry-Pick main] make velero uninstall backward compatible
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-08-29 01:07:41 +00:00
Ming
7f3b7fe853
Fix delete dataupload datadownload failure when Velero uninstall
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-08-24 03:30:28 +00:00
allenxu404
846f0de178
enhance uninstall and backup deletion for restore finalizer
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-08-03 16:43:33 +08:00
allenxu404
6dbdc54dc7
check if restore crd exist before operating restore
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-07-25 18:54:42 +08:00
allenxu404
0bb509ccdd
add restore finalizer to clean up external resources
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-07-19 18:56:35 +08:00
Wenkai Yin(尹文开) and GitHub
31a8e5080c
Wait the namespace deletion completed before removing the CRDs ( #4007 )
...
Wait the namespace deletion completed before removing the CRDs when uninstalling the velero
Fixes #3974
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2021-08-17 08:55:22 -07:00
David L. Smith-Uchida and GitHub
5438ff79e3
Updated uninstall to remove both v1beta1 and v1 CRDs if present ( #3997 )
2021-07-29 22:01:13 +08:00
81f1f21871
Consolidate api clients for e2e tests ( #3764 )
...
* Consolidate api clients
* Adress Nolan reviews
* Adding back output warning for consistency
* Remove unnecessary documentation
* Address Bridget's reviews
* Update go.sum files
Signed-off-by: Carlisia <carlisia@grokkingtech.io >
Co-authored-by: Bridget McErlean <bmcerlean@vmware.com >
2021-06-09 22:07:56 +08:00
Carlisia
e498a23311
Remove unnecessary check
...
Signed-off-by: Carlisia <carlisia@vmware.com >
2021-03-25 17:26:44 -07:00
Carlisia
6decba9dda
Adress Ashish's second review
...
Signed-off-by: Carlisia <carlisia@vmware.com >
2021-03-25 17:21:23 -07:00
Carlisia
c64f45e044
Address Ashish's review
...
Signed-off-by: Carlisia <carlisia@vmware.com >
2021-03-25 14:31:21 -07:00
Carlisia
ae47ac0948
Addressed Bridget's review
...
Signed-off-by: Carlisia <carlisia@vmware.com >
2021-03-25 13:36:49 -07:00
Carlisia
61c891f055
Addressed Dave's review
...
Signed-off-by: Carlisia <carlisia@vmware.com >
2021-03-25 13:24:30 -07:00
Carlisia
4fff2a4a5c
Make uninstall more robust and informative
...
Signed-off-by: Carlisia <carlisia@vmware.com >
2021-03-23 18:00:38 -07:00
Suraj Banakar and GitHub
ff1a31db4a
Support cli uninstall ( #3399 )
...
* Add uninstall cmd
- init fn to uninstall velero
- abstract dynamic client creation to a separate fn
- creates a separate client per unstructured resource
- add delete client for CRDs
- export appendUnstructured
- add uninstall command to main cmd
- export `podTemplateOption`
- uninstall resources in the reverse order of installation
- fallback to `velero` if no ns is provided during uninstall
- skip deletion if the resource doesn't exist
- handle resource not found error
- match log formatting with cli install logs
- add Delete fn to fake client
- fix import order
- add changelog
- add comment doc for CreateClient fn
Signed-off-by: Suraj Banakar <suraj@infracloud.io >
* Re-use uninstall code from test suite
- move helper functions out of test suite
- this is to prevent cyclic imports
- move uninstall helpers to uninstall cmd
- call them from test suite
- revert export of variables/fns from install code
- because not required anymore
Signed-off-by: Suraj Banakar <suraj@infracloud.io >
* Revert `PodTemplateOption` -> `podTemplateOption`
Signed-off-by: Suraj Banakar <suraj@infracloud.io >
* Use uninstall helper under VeleroUninstall
- as a wrapper
- fix import related errors in test suite
Signed-off-by: Suraj Banakar <suraj@infracloud.io >
2021-03-04 14:16:40 -05:00