Xun Jiang
f604a5da48
Add BSL status check for backup/restore operations.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-30 10:21:32 +08:00
Xun Jiang
8ce07eb94c
Remove CSI VS and VSC metadata from backup.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-29 16:20:06 +08:00
Lyndon-Li
b222b88c94
dm controller refactor for cancel
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-05-22 14:56:15 +08:00
Lyndon-Li
38c927711a
dm controller refactor for cancel
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-05-21 11:29:35 +08:00
lyndon-li
4d10047d67
issue-8878: relief node os deduction error checks ( #8891 )
...
Run the E2E test on kind / build (push) Failing after 6m28s
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 36s
Close stale issues and PRs / stale (push) Successful in 9s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m5s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 44s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m4s
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-05-06 12:38:05 -04:00
Matthieu MOREL
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
Matthieu MOREL
5705bcc3f4
chore: bump golangci-lint to v2 ( #8839 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-04-17 02:38:19 -04:00
Lyndon-Li
b170892e64
issue 8754: add third party annotation support
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-03-10 10:38:26 +08:00
Matthieu MOREL
6a6a237ba7
Bump golangci-lint from v1.57.2 to v1.64.5 ( #8641 )
...
Run the E2E test on kind / build (push) Failing after 5m43s
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
build-image / Build (push) Failing after 8s
Main CI / Build (push) Failing after 33s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-03-04 13:55:29 +05:30
Xun Jiang/Bruce Jiang
f79b825cf1
Merge pull request #8684 from blackpiglet/7979_fix
...
7979 fix
2025-02-25 13:27:01 +08:00
Xun Jiang
6b7dd12bf7
Modify VS and VSC restore actions.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-02-25 10:44:45 +08:00
Tiger Kaovilai
1b7d9014a5
add to unmarshal test
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-20 16:40:49 -06:00
Xun Jiang
3843ae7030
Delete VolumeSnapshotContent from the backup sync process.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-02-19 14:36:59 +08:00
Tiger Kaovilai
a3cee616dc
Upgrade go.mod k8s.io/ go.mod to v0.31.3 and set klog.SetLogger() for client-go ( #8450 )
...
Run the E2E test on kind / build (push) Failing after 5m44s
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
build-image / Build (push) Failing after 10s
Main CI / Build (push) Failing after 31s
Close stale issues and PRs / stale (push) Successful in 7s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 59s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 45s
Also bumped to support upgraded k8s.io/ deps.
- controller-gen to v0.16.5
- sigs.k8s.io/controller-runtime v0.19.2
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-17 15:05:10 -05:00
Xun Jiang/Bruce Jiang
c0c4407657
Merge pull request #8681 from blackpiglet/8238_fix
...
Run the E2E test on kind / build (push) Failing after 5m41s
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 36s
Don't run maintenance on the ReadOnly BackupRepositories.
2025-02-14 11:32:49 +08:00
Xun Jiang/Bruce Jiang
fa156c3961
Don't run maintenance on the ReadOnly BackupRepositories.
...
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com >
2025-02-13 13:46:53 +08:00
Scott Seago
fcfb2fd9ee
Implement parallel ItemBlock processing via backup_controller goroutines
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-02-12 12:03:37 -05:00
Xun Jiang/Bruce Jiang
10a5b7b702
Merge pull request #8624 from mmorel-35/revive/use-any
...
chore: enable use-any from revive
2025-02-07 15:09:05 +08:00
Daniel Jiang
bedea9c74c
Merge pull request #8637 from reasonerjt/rm-leaked-vs
...
Clean up leaked CSI snapshot for incomplete backup
2025-01-23 12:56:12 +08:00
Matthieu MOREL
1e54f1cb15
chore: enable var-declaration from revive ( #8636 )
...
Run the E2E test on kind / build (push) Failing after 5m28s
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 33s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 52s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 56s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-22 15:56:44 -05:00
Daniel Jiang
1c372893ec
Clean up leaked CSI snapshot for incomplete backup
...
This commit makes sure when a backup is deleted the controller will
delete the CSI snapshot even when the bakckup tarball is not uploaded.
fixes #8160
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2025-01-22 17:17:41 +08:00
Lyndon-Li
0a4b05cb6e
repo maintenance for windows
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-17 19:06:57 +08:00
Matthieu MOREL
cbba3bdde7
chore: enable use-any from revive
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-17 07:58:10 +01:00
lyndon-li
5b1738abf8
Merge pull request #8580 from Lyndon-Li/recall-repo-maintenance-history-on-restart
...
Run the E2E test on kind / build (push) Failing after 5m31s
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 32s
Close stale issues and PRs / stale (push) Successful in 9s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 53s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 49s
Recall repo maintenance history on restart
2025-01-17 14:08:27 +08:00
Lyndon-Li
3900f2f117
recall repo maintenance history on restart
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-15 15:05:02 +08:00
lyndon-li
3207619f30
Merge pull request #8594 from Lyndon-Li/data-mover-restore-for-windows
...
Data mover restore for Windows
2025-01-13 13:04:29 +08:00
Lyndon-Li
fc9683688a
move maintenance to a separate folder
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-13 10:57:14 +08:00
Lyndon-Li
a8469126d8
data mover restore for Windows
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-10 08:58:32 +00:00
lyndon-li
42d2e9bfc4
Merge pull request #8591 from reasonerjt/finalize-async-op
...
Skip patching the PV in finalization for failed operation
2025-01-10 14:02:42 +08:00
Daniel Jiang
dc02caf2b0
Skip patching the PV in finalization for failed operation
...
This commit makes change in restore finalizer controller, to make it
check the status in item operation of a PVC before patch the PV that is
bound to it. If the operation is not successful it will skip patching
the PV.
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2025-01-09 01:42:50 +08:00
lyndon-li
be5f56ab18
Merge pull request #8550 from Lyndon-Li/restore-pvc-ignore-wait-for-first-consumer
...
Run the E2E test on kind / build (push) Failing after 5m14s
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 32s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m3s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 52s
Issue 8044: generic restore - allow to ignore delay binding for WaitForFirstConsumer
2025-01-08 15:14:20 +08:00
Lyndon-Li
4ce7361f5a
recall repo maintenance history on restart
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-07 12:58:43 +08:00
Lyndon-Li
ceeab10b6e
Merge branch 'main' into recall-repo-maintenance-history-on-restart
2025-01-06 17:21:52 +08:00
Lyndon-Li
6b73a256d5
recall repo maintenance history on restart
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-06 17:11:03 +08:00
Lyndon-Li
db69829fd7
repo maintenance job out of repo manager
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-06 16:25:33 +08:00
Wenkai Yin(尹文开)
3120e33ed7
Clear validation errors when schedule is valid ( #8575 )
...
Run the E2E test on kind / build (push) Failing after 5m23s
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 36s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m1s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 42s
Clear validation errors when schedule is valid
Fixes #8571
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2025-01-03 15:13:43 -05:00
Lyndon-Li
912b116bdb
always use job's time
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-03 16:50:35 +08:00
Lyndon-Li
cfad06b701
Merge branch 'main' into restore-pvc-ignore-wait-for-first-consumer
2025-01-03 14:14:37 +08:00
Lyndon-Li
cb22dfc482
fs uploader and block uploader support Windows nodes
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-02 13:25:23 +08:00
Lyndon-Li
bc6414672e
disable block volume data mover on windows
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-02 11:28:21 +08:00
Lyndon-Li
6ff0aa32e3
recall existing repo maintenance to history
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-01-02 11:16:46 +08:00
Lyndon-Li
f5d13aeb17
data mover backup for Windows nodes
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-26 02:46:08 +00:00
Lyndon-Li
a56b06bab1
issue 8044: generic restore - allow to ignore WaitForFirstConsumer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-26 10:29:15 +08:00
Daniel Jiang
eeee79e551
Merge pull request #8532 from Lyndon-Li/isolate-message-in-backup-repo
...
Run the E2E test on kind / build (push) Failing after 4m51s
Run the E2E test on kind / setup-test-matrix (push) Successful in 12s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 40s
Close stale issues and PRs / stale (push) Successful in 7s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m8s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 1m2s
Add maintenance history for backupRepository CRs
2024-12-23 19:29:52 +08:00
Lyndon-Li
92390e9af5
add repo maintain result in history
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-23 15:37:27 +08:00
Lyndon-Li
3b2c50b459
add repo maintain result in history
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-19 16:20:15 +08:00
Lyndon-Li
c9bfd33077
isolate repo maintenane history
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-19 15:33:58 +08:00
Wenkai Yin(尹文开)
6e34c09d84
Fix issue: backup schedule pause/unpause doesn't work
...
The issue is caused by the changes of controller-runtime: WithEventFilter() doesn't apply to WatchesRawSource(),
this commit set Predicate for WatchesRawSource() seperatedly
Fixes #8437
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-12-13 16:07:53 +08:00
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
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