Michal Pryc
b4eee87e18
issue 8649: host_pods should not be mandatory to node-agent
...
Enables the node-agent to start even if the
/host_pods path does not exist.
If the path is present, the existing logic
remains unchanged, ensuring it is readable.
Signed-off-by: Michal Pryc <mpryc@redhat.com >
2025-03-11 13:11:25 +01: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
Daniel Jiang
d9721fddb5
Merge pull request #8665 from aj-2000/user/aj-2000/validate-from-schedule-flag
...
Run the E2E test on kind / build (push) Failing after 5m7s
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
Validate `--from-schedule` flag in create backup command
2025-02-14 18:57:39 +08:00
Ajay Sharma
06fc9da925
refactor code
...
Signed-off-by: Ajay Sharma <ajaysharma.13122000@gmail.com >
2025-02-07 15:16:34 +00: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
Ajay Sharma
3ca547f186
validate --from-schedule flag
...
Signed-off-by: Ajay Sharma <ajaysharma.13122000@gmail.com >
2025-02-05 14:01:31 +00: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
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
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
Matthieu MOREL
05765fb2fd
golangci-lint: enable int-conversion and fiximports rule of perfsprint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-09 22:31:29 +00: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
Lyndon-Li
cfad06b701
Merge branch 'main' into restore-pvc-ignore-wait-for-first-consumer
2025-01-03 14:14:37 +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
lyndon-li
78c97d93b5
Merge pull request #8518 from Lyndon-Li/fail-fs-backup-on-windows-nodes
...
Run the E2E test on kind / build (push) Failing after 4m19s
Run the E2E test on kind / setup-test-matrix (push) Successful in 7s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 43s
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 51s
fs-backup for clusters with windows nodes
2024-12-24 15:15:15 +08:00
Lyndon-Li
623e023bb3
wait node-agent for Windows
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-23 19:04:40 +08:00
Lyndon-Li
be97a5c1c6
hide restic deprecation warning for install with crd-only
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-20 14:48:03 +08:00
Lyndon-Li
99ba81e5d1
add use-node-agent-windows
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-17 13:54:03 +08:00
Lyndon-Li
617411fa5a
Merge branch 'main' into linux-windows-hybrid-deploy
2024-12-17 13:46:52 +08:00
Lyndon-Li
a5a6e47e42
add use-node-agent-windows
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-17 13:27:51 +08:00
Lyndon-Li
11cd6d922b
hybrid deploy
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-17 13:05:46 +08:00
Xun Jiang
8fcb6de323
Refactor the migration cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-26 11:04:54 +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
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
Matthieu MOREL
d06601e977
fix: use Contains or ErrorContains with testify
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-18 20:36:45 +02:00
Xun Jiang
68f3545424
Add the ConfigMap-specified parameters into velero install CLI.
...
Rename backup-repository-config to backup-repository-configmap.
Rename repo-maintenance-job-config to repo-maintenance-job-configmap.
Rename node-agent-config to node-agent-configmap.
Add those three parameters to `velero install` CLI.
Modify the design and the site documents.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-12 11:24:14 +08:00
Xun Jiang
26cc41f26d
Implement the Repo maintanence Job configuration design.
...
Remove the resource parameters from the velero server CLI.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-09 22:42:56 +08:00
Daniel Jiang
7439db57b3
Merge pull request #8166 from ywk253100/240705_plugin_args
...
Pass Velero server command args to the plugins
2024-09-06 14:29:42 +08:00
Wenkai Yin(尹文开)
dc6eeafe98
Pass Velero server command args to the plugins
...
Pass Velero server command args to the plugins
Fixes #7806
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-09-04 13:43:27 +08:00
Lyndon-Li
627e2fede6
nod-agent config for pod resources
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-22 15:06:35 +08:00
lyndon-li
f63b714483
Merge pull request #8115 from Lyndon-Li/data-mover-ms-smoking-test
...
Data mover micro service smoke testing
2024-08-21 10:12:18 +08:00
Shubham Pampattiwar
86963bf229
Merge pull request #8097 from Lyndon-Li/issue-fix-8032
...
Issue 8032: make node agent configMap name configurable
2024-08-19 14:49:43 -07:00
Lyndon-Li
8cf1749ae0
issue 8032: make node agent configMap name configurable
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-19 10:33:17 +08:00
Lyndon-Li
0ed1a7fc86
data mover ms smoke testing
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-15 15:06:31 +08:00
Lyndon-Li
d25a908b78
Merge branch 'main' into data-mover-ms-smoking-test
2024-08-15 11:12:44 +08:00
Lyndon-Li
ed0ef67c16
data mover ms smoke testing
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-14 17:29:04 +08:00
Shubham Pampattiwar
8eac3606d9
Add support for backup PVC configuration
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
pass backupPVCConfig to exposer as part of csi params
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-08-13 17:06:06 -07:00
Lyndon-Li
3c0948c9be
Merge branch 'main' into data-mover-ms-smoking-test
2024-08-14 00:15:56 +08:00
lyndon-li
07c03a8919
Merge pull request #8085 from Lyndon-Li/data-mover-ms-node-agent-resume
...
Data mover micro service node agent resume
2024-08-14 00:14:47 +08:00
Daniel Jiang
260a4995c2
Merge pull request #8096 from Lyndon-Li/issue-fix-8072
...
Issue 8072: restic deprecation - warning messages
2024-08-12 14:13:25 +08:00
Lyndon-Li
04db3ba767
data mover ms node agent resume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-12 10:45:59 +08:00
Lyndon-Li
4dea3a48e8
data mover ms smoking test
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-09 15:15:21 +08:00
Lyndon-Li
fefb4b858c
issue 8072: restic deprecation - warning messages
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-08-09 14:40:42 +08:00