Wenkai Yin(尹文开)
0224d99889
Merge pull request #8482 from Lyndon-Li/data-mover-exposer-diagnostic
...
Run the E2E test on kind / build (push) Failing after 6m17s
Run the E2E test on kind / setup-test-matrix (push) Successful in 5s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 1m3s
Close stale issues and PRs / stale (push) Has started running
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Has started running
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Has started running
Data mover exposer diagnostic
2024-12-13 14:28:37 +08:00
lyndon-li
cd01222d8e
Merge pull request #8508 from Lyndon-Li/issue-fix-8267-info-when-expose-error
...
Run the E2E test on kind / build (push) Failing after 6m21s
Run the E2E test on kind / setup-test-matrix (push) Successful in 14s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 1m1s
Close stale issues and PRs / stale (push) Successful in 26s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m27s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 1m8s
Issue 8267: enhance the error message when expose fails
2024-12-12 17:00:44 +08:00
Lyndon-Li
8b545532e2
issue 8267: add informative logs when expose error
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-12 11:19:26 +08:00
Daniel Jiang
eb48cbd60f
Merge pull request #8297 from kaovilai/aws-getbucketregion-hint
...
Run the E2E test on kind / build (push) Failing after 6m8s
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 57s
Close stale issues and PRs / stale (push) Successful in 12s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m16s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 1m19s
Set hinting region to use for GetBucketRegion() in pkg/repository/config/aws.go
2024-12-11 14:19:11 +08:00
Wenkai Yin(尹文开)
26661c775f
Merge pull request #8498 from Lyndon-Li/move-accept-info-to-du-dd-cr
...
Move the accepted info from annotations to DU/DD CR
2024-12-11 13:22:39 +08:00
lyndon-li
ff6ea15796
Merge pull request #8476 from Lyndon-Li/build-hybrid-image
...
Run the E2E test on kind / build (push) Failing after 5m33s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 1m20s
Close stale issues and PRs / stale (push) Successful in 20s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m12s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 1m5s
Build hybrid image
2024-12-10 16:50:06 +08:00
Lyndon-Li
34e417bdac
add diagnostic for data mover exposer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-10 14:00:31 +08:00
lyndon-li
a1cf952b8d
Issue 8433: add third party labels to data mover pods when the same labels exist in node-agent pods ( #8487 )
...
Run the E2E test on kind / build (push) Failing after 6m42s
Run the E2E test on kind / setup-test-matrix (push) Successful in 8s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 1m26s
Close stale issues and PRs / stale (push) Successful in 14s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m7s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 1m19s
* issue 8433: add ask label to data mover pods
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
* check existence of the same label from node-agent
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
---------
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-09 12:44:39 -05:00
Lyndon-Li
86082eb137
move the accepted info from annotations to DU/DD CR
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-09 16:39:04 +08:00
lyndon-li
11f100fc59
Merge pull request #8486 from Lyndon-Li/fix-issue-8485-prepare-timeout-not-work
...
Run the E2E test on kind / build (push) Failing after 6m31s
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 1m7s
Fix prepare timeout issue
2024-12-09 14:54:03 +08:00
Tiger Kaovilai
b588dc926d
Merge pull request #8491 from reasonerjt/restore-help-secctx
...
Run the E2E test on kind / build (push) Failing after 6m55s
Run the E2E test on kind / setup-test-matrix (push) Successful in 10s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 1m15s
Close stale issues and PRs / stale (push) Successful in 18s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m20s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 1m19s
Add SecurityContext to restore-helper
2024-12-06 10:27:36 -05:00
Daniel Jiang
4b7f93189d
Add SecurityContext to restore-helper
...
This commit adds SecurityContext that complies with "restricted" level
per Pod Security Standards to "restore-helper" initContainer.
It ensures the restore won't fail when the cluster enforces PSA.
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-12-06 17:30:41 +08:00
Lyndon-Li
bcba234035
Merge branch 'main' into build-hybrid-image
2024-12-06 15:57:07 +08:00
Lyndon-Li
cbdbbe26c2
fix prepare timeout issue
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-05 17:24:12 +08:00
Tiger Kaovilai
04d6c79179
Merge pull request #8471 from vmware-tanzu/8440_fix_main
...
Run the E2E test on kind / build (push) Failing after 6m42s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 1m9s
[main] Add nil check for updating DataUpload VolumeInfo in finalizing phase
2024-12-05 01:17:19 -05:00
Shubham Pampattiwar
6c0ed1e5d2
Merge pull request #8366 from sseago/synchronise-backedupitems
...
Run the E2E test on kind / build (push) Failing after 6m39s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 1m11s
Close stale issues and PRs / stale (push) Successful in 14s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m20s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 1m11s
Make BackedUpItems thread safe
2024-12-04 07:50:45 -08:00
Lyndon-Li
b607259563
add diagnostic for data mover exposer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-04 14:49:58 +08:00
Lyndon-Li
baf74d67a7
build hybrid image
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-04 10:29:34 +08:00
lyndon-li
2e5df858ad
Merge pull request #8472 from Lyndon-Li/ping-kopia-to-0.18-branch
...
Run the E2E test on kind / build (push) Failing after 21m41s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2m24s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 9m58s
Pin kopia to 0.18.2
2024-12-04 07:49:36 +08:00
Scott Seago
015b1e69f6
Make BackedUpItems thread safe
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-12-03 15:23:45 -05:00
Lyndon-Li
3cd85f5b43
ping kopia to 0.18.2
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-03 13:06:26 +08:00
Xun Jiang
226370d035
Add nil check for updating DataUpload VolumeInfo in finalizing phase.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-12-03 10:50:55 +08:00
lyndon-li
7e80d8f1fd
Merge pull request #8459 from Lyndon-Li/design-for-windows-build
...
Run the E2E test on kind / run-e2e-test (push) Blocked by required conditions
Run the E2E test on kind / setup-test-matrix (push) Successful in 1m32s
Run the E2E test on kind / build (push) Failing after 14m10s
Main CI / Build (push) Failing after 12m7s
Close stale issues and PRs / stale (push) Failing after 11m56s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 6m24s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 10m15s
Design for multi-arch build and windows build
2024-12-03 10:16:27 +08:00
Mayank Aggarwal
074f26539d
Adding Support For VolumeAttributes in Resource Policy ( #8383 )
...
Run the E2E test on kind / build (push) Failing after 10m15s
Run the E2E test on kind / setup-test-matrix (push) Successful in 1m15s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 4m47s
Close stale issues and PRs / stale (push) Failing after 11m58s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 11m40s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 14m53s
* Adding VolumeAttributes validations in resource policy
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* adding tests
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* adding tests
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* adding tests
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* added changelog
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* changelog
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* design spec
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* lint fixes
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* doc update
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* doc update
Signed-off-by: mayaggar <mayaggar@microsoft.com >
* Update internal/resourcepolicies/volume_resources_validator.go
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Signed-off-by: Mayank Aggarwal <mayankagg9722@gmail.com >
* doc name update
Signed-off-by: mayaggar <mayaggar@microsoft.com >
---------
Signed-off-by: mayaggar <mayaggar@microsoft.com >
Signed-off-by: Mayank Aggarwal <mayankagg9722@gmail.com >
Co-authored-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
2024-11-28 10:17:07 +05:30
Lyndon-Li
3a7cf09957
design for multi-arch build and windows build
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-11-28 11:00:40 +08:00
Shubham Pampattiwar
aed944cb0e
Merge pull request #8257 from shubham-pampattiwar/add-warn-argocd
...
Run the E2E test on kind / build (push) Failing after 15m53s
Run the E2E test on kind / setup-test-matrix (push) Successful in 1m27s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 13m40s
Close stale issues and PRs / stale (push) Failing after 11m56s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 11m56s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 11m54s
Add Backup warning for inclusion of NS managed by ArgoCD
2024-11-19 20:21:17 -08:00
Shubham Pampattiwar
738bb79a99
Add Backup warning for inclusion of NS managed by ArgoCD
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
run make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
re-position import
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
update argo cd label comment
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add nil check for backupRequest.Spec.IncludedNamespaces
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
minor fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix edge cases
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add gh issue link in code comments
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-11-19 16:06:22 -08:00
Daniel Jiang
e7da6727cf
Merge pull request #8343 from evhan/maintenance-job-env-from
...
Copy "envFrom" from Velero server when creating maintenance jobs
2024-11-18 20:28:44 +08:00
sangitaray2021
74790d9f60
Added tracking for deleted namespace status check in restore flow ( #8233 )
...
* Added tracking for deleted namespace status check in restore flow
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
fixed unittest
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
refactored tracker execution and caller
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
added change log
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
Author: sangitaray2021 <sangitaray@microsft.com >
Author: sangitaray2021 <sangitaray@microsoft.com >
Date: Thu Sep 19 02:26:14 2024 +0530
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
* fixed linter issuer
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
* incorporated PR comments
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
* resolved comments
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
---------
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
2024-11-18 13:41:07 +05:30
Daniel Jiang
dacd5eff93
Merge pull request #8380 from sseago/worker-count
...
Add --item-block-worker-count flag to velero install and server
2024-11-15 16:04:25 +08:00
lyndon-li
32a8c62920
Merge pull request #8395 from Lyndon-Li/issue-fix-8394
...
Run the E2E test on kind / run-e2e-test (1.23.17, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.23.17, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.24.17, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.24.17, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.24.17, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.24.17, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.25.16, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.25.16, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.25.16, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.25.16, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.26.13, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.26.13, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.26.13, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.26.13, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.27.10, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.27.10, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.27.10, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.27.10, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.28.6, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.28.6, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.28.6, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.28.6, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.29.1, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.29.1, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.29.1, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.29.1, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Main CI / Build (push) Failing after 3m35s
Close stale issues and PRs / stale (push) Failing after 14m19s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 14m18s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 14m16s
Issue 8394: move closeDataPath outside callbacks
2024-11-13 10:39:13 +08:00
Lyndon-Li
7feda11e54
issue 8391: check ErrCancelled from suffix
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-11-12 18:32:38 +08:00
Lyndon-Li
e5d6c48fea
issue 8394: move closeDataPath outside callbacks
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-11-12 17:07:50 +08:00
Scott Seago
6588141090
Add --item-block-worker-count flag to velero install and server
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-11-07 10:58:36 -05:00
Daniel Jiang
d0cffa3d19
Merge pull request #8354 from alromeros/add-annotations-flag
...
Include --annotations flag in backup and restore create commands
2024-11-06 01:17:17 +08:00
Evan Hanson
70d88901b9
Copy "envFrom" from Velero server when creating maintenance jobs
...
Signed-off-by: Evan Hanson <evanhanson@catalyst.net.nz >
2024-10-30 15:01:59 +13:00
Alvaro Romero
e2839bbdec
Include --annotations flag in backup and restore create commands
...
This commit implements a new --annotations flag in the backup and restore create commands.
This allows users to specify key-value pairs for annotations directly at the time of backup and restore creation, in the same way as the --labels flag.
Signed-off-by: Alvaro Romero <alromero@redhat.com >
2024-10-28 09:52:31 +01:00
Wenkai Yin(尹文开)
07847925fe
Use aggregated discovery API to discovery API groups and resources
...
Use aggregated discovery API to discovery API groups and resources
Fixes #7526
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-10-28 13:59:16 +08:00
Wenkai Yin(尹文开)
8320df44fd
Merge pull request #8275 from ywk253100/241008_discovery
...
Bump up version of client-go and controller-runtime
2024-10-28 13:51:17 +08:00
Xun Jiang/Bruce Jiang
8058a38058
Merge pull request #8271 from mcluseau/main
...
fix(pkg/repository/maintenance): handle when there's no container status
2024-10-28 13:50:25 +08:00
Lyndon-Li
6ffe4610c3
add 1.15 changelog
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-10-22 18:30:26 +08:00
Mikaël Cluseau
e770f0c308
fix(pkg/repository/maintenance): don't panic when there's no container statuses
...
Signed-off-by: Mikaël Cluseau <mikael.cluseau@gmail.com >
2024-10-22 07:07:45 +02:00
lyndon-li
fe14fb235c
Merge pull request #8301 from msfrucht/revert_expose_sourcevolumemode
...
Revert "Expose VSC SourceVolumeMode" 1.15
2024-10-16 10:04:46 +08:00
MICHAEL S FRUCHTMAN
d9b278edb9
Revert "Expose VSC SourceVolumeMode"
...
This reverts commit 7580538f03 .
Signed-off-by: MICHAEL S FRUCHTMAN <msfrucht@us.ibm.com >
2024-10-14 12:01:05 -07:00
Tiger Kaovilai
69b456af70
Set hinting region to use for GetBucketRegion() in pkg/repository/config/aws.go
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-10-14 10:08:12 -05:00
Scott Seago
b1035dd49d
add no-relabeling option to backupPVC configmap
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-10-14 10:26:55 -04:00
Scott Seago
de7a414511
only set spec.volumes readonly if PVC is readonly for datamover
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-10-10 10:51:33 -04:00
Wenkai Yin(尹文开)
0a4e417aab
Bump up version of client-go and controller-runtime
...
Bump up version of client-go to v0.30.5
Bump up version of controller-runtime to v0.18.5
Fixes #8274
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-10-08 18:53:12 +08:00
MICHAEL S FRUCHTMAN
7580538f03
Expose VSC SourceVolumeMode
...
Add changelog and unittest
Signed-off-by: Michael Fruchtman <msfrucht@us.ibm.com >
2024-10-03 15:05:58 -07:00
Shubham Pampattiwar
c0d51a5465
Add labels to maintanance job pods
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-09-24 17:09:13 -07:00