Lyndon-Li
1e2ef374d6
add diagnostic for data mover exposer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-13 15:09:17 +08:00
Lyndon-Li
8087c7f13a
add diagnostic for data mover exposer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-13 15:09:01 +08:00
Lyndon-Li
3f31730003
check existence of the same label from node-agent
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-10 13:44:54 +08:00
Wenkai Yin(尹文开)
23ca089d40
Use '"' rather than '`' in the log to avoid unexpected new line
...
Use '"' rather than '`' in the log to avoid unexpected new line
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-10-09 14:44:13 +08:00
Lyndon-Li
9deaa819aa
issue 8232: ensure the ending event sinked before shutdown
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-09-23 18:35:56 +08:00
Wenkai Yin(尹文开)
670338e02f
Merge pull request #8210 from kaovilai/pvc_pv_test.go-32-2
...
pvc_pv_test.go:32:2: other import of "k8s.io/api/core/v1"
2024-09-12 10:42:19 +08:00
Wenkai Yin(尹文开)
5b4c8cd5b1
Merge pull request #8198 from kaovilai/pes-controller
...
Add controller name to periodical_enqueue_source
2024-09-12 10:41:46 +08:00
Tiger Kaovilai
70168634cb
pvc_pv_test.go:32:2: other import of "k8s.io/api/core/v1"
...
package "k8s.io/api/core/v1" is being imported more than once (ST1019)
pvc_pv_test.go:32:2: other import of "k8s.io/api/core/v1"
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-11 17:21:04 -04:00
Tiger Kaovilai
c8aa37d852
Remove additional param, use pkg/constant
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-11 17:13:37 -04:00
Tiger Kaovilai
c643ee5fd4
Retry completion status patch for backup and restore resources
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
update to design #8063
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-10 17:01:14 -04:00
Tiger Kaovilai
5c4c66bee9
Add controller name to periodical_enqueue_source
...
The code changes are related to the `NewPeriodicalEnqueueSource` function in the `kube/periodical_enqueue_source.go` file. This function is used to create a new instance of the `PeriodicalEnqueueSource` struct, which is responsible for periodically enqueueing objects into a work queue.
The changes involve adding two new parameters to this function: `controllerName string` and modifying the existing `logger` parameter to include additional fields.
Here's what changed:
1. A new `controllerName` parameter was added to the `NewPeriodicalEnqueueSource` function.
These changes are to adding more context or metadata to the logging output, possibly for debugging or monitoring purposes.
The other files (`restore_operations_controller.go`, `schedule_controller.go`, and their respective test files) were modified to use this updated `NewPeriodicalEnqueueSource` function with the new `controllerName` parameter.
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-09 12:07:07 -04: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
lyndon-li
3408ffefac
Merge pull request #8141 from shubham-pampattiwar/fix-backup-pvc-config
...
Apply backupPVCConfig to backupPod volume spec
2024-08-30 11:09:46 +08:00
Shubham Pampattiwar
f6e2b0107f
Apply backupPVCConfig to backupPod volume spec
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make backupPod volume mount always readOnly
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
use assert.True()
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Add readOnly param for MakePodPVCAttachment func
lint fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-08-29 13:18:17 -07:00
Tiger Kaovilai
f5671c728c
Scrub namespace terminating status and deletion timestamp on restore. Descriptive restore error on terminating namespace. ( #7424 )
...
revert utils_test.go
address c7b189dd60 (r1494194484)
Update pkg/util/kube/utils.go
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com >
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-08-23 16:45:10 +05:30
Scott Seago
1228b41851
Internal ItemBlockAction plugins
...
This PR implements the internal ItemBlockAction plugins needed for pod, PVC, and SA.
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-08-09 12:24:55 -04:00
Lyndon-Li
d48e9762eb
data mover ms new controller
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-07-31 13:24:16 +08:00
Lyndon-Li
e83ba06733
Merge branch 'main' into data-mover-ms-backup-1
2024-07-26 11:05:05 +08:00
lyndon-li
53b57f8bdf
Merge pull request #7999 from Lyndon-Li/data-mover-ms-watcher-01
...
Data mover micro-service watcher
2024-07-26 10:10:07 +08:00
Lyndon-Li
8742f1b1f3
data mover micro service backup
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-07-25 14:03:49 +08:00
Lyndon-Li
faa704d909
data mover ms watcher
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-07-25 10:47:52 +08:00
lyndon-li
01aa657f0e
Merge pull request #7988 from Lyndon-Li/data-mover-ms-new-exposer
...
New exposer for data mover ms
2024-07-24 10:11:54 +08:00
Matthieu MOREL
c8baaa9b11
testifylint: enable more rules ( #8024 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-07-18 10:43:16 -04:00
Matthieu MOREL
35c90f1672
testifylint: enable error-nil rule ( #7670 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-07-16 12:23:16 -04:00
Matthieu MOREL
aa3fde5ea5
testifylint: enable bool-compare rule ( #7623 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-07-16 09:28:23 -04:00
Lyndon-Li
7f88d631a9
Merge branch 'main' into data-mover-ms-new-exposer
2024-07-16 15:54:29 +08:00
Lyndon-Li
49097744ee
new exposer for data mover ms
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-07-15 17:18:03 +08:00
Lyndon-Li
7408dbd436
issue 7972: sync the backupPVC deletion in expose clean up
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-07-03 18:31:38 +08:00
Scott Seago
9614ead033
Don't consider unschedulable pods unrecoverable
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-06-17 10:05:52 -04:00
Daniel Jiang
bed10c7fe6
Fix the problems found by codespell
...
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-05-24 13:32:54 +08:00
Xun Jiang
a91d2cb036
Modify the volume helper logic.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-05-23 09:57:21 +08:00
Tiger Kaovilai
3c937d42dd
ignore .git dir when formatting
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-05-10 14:12:29 -04:00
Shubham Pampattiwar
8d2bef2486
Extend Volume Policies feature to support more actions
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix volume policy action execution
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
remove unused files
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix CI linter errors
fix linter errors
address pr review comments
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix via make update cmd
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
address PR feedback and add tests
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix codespell
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix ci linter checks
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
remove volsToExclude processing from volume policy logic and add tests
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix ci linter issue
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-04-23 12:54:14 -07:00
Wenkai Yin(尹文开)
40b0683dfc
Use specific credential rather than the credential chain for Azure
...
Use specific credential rather than the credential chain for Azure
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-04-15 19:27:30 +08:00
eveneast
d0350960b6
Fix some comments
...
Signed-off-by: eveneast <qcqs@foxmail.com >
2024-04-15 14:48:20 +08:00
Xun Jiang
d3cc42d577
Change the timeout handling code due to third-party package change
...
The wait error changed from `timed out waiting for the condition`
to `context deadline exceeded`.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-13 23:27:02 +08:00
Xun Jiang
30995bcbd2
Add more UT for the CSI plugins.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-13 23:22:43 +08:00
Lyndon-Li
dcf760d5f1
issue 7648:avoid snapshot leak on expose failure
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-12 10:41:39 +08:00
Lyndon-Li
61061d5c83
issue 7648: merge main
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-12 10:18:02 +08:00
Lyndon-Li
bf03938dd2
issue 7648: don't leak snapshot on failure
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-04-11 19:23:57 +08:00
Xun Jiang/Bruce Jiang
8df4e6aded
Merge branch 'main' into merge_csi
...
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com >
2024-04-10 18:54:16 +08:00
Xun Jiang/Bruce Jiang
7935236db0
Merge pull request #7584 from mmorel-35/json-patch/v5
...
build(deps): bump json-patch to v5.8.0
2024-04-10 18:40:16 +08:00
Xun Jiang
31e140919a
Merge CSI plugin code.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-10 14:53:29 +08:00
Wenkai Yin(尹文开)
91774af54d
Empty the list before next round of listing
...
Empty the list before next round of listing
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-04-08 18:57:29 +08:00
Matthieu MOREL
a9085033b2
build(deps): bump json-patch to v5.8.0
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-29 14:08:33 +00:00
lyndon-li
67bd694d1b
Merge pull request #7437 from Lyndon-Li/issue-fix-7036
...
Issue 7036: node selection for data mover backup
2024-03-29 17:04:40 +08:00
Xun Jiang/Bruce Jiang
d640cc16ab
Merge pull request #7573 from mmorel-35/golangci-lint-exclude-rules
...
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
2024-03-28 16:39:40 +08:00
qiuming
e80bdcf2e2
Merge pull request #7451 from qiuming-best/maintenance-job
...
Add repository maintenance job
2024-03-28 14:47:15 +08:00
Ming Qiu
8d63c76c92
Add maintenance job
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2024-03-28 03:22:06 +00:00
Matthieu MOREL
ef04ef6361
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 20:17:34 +00:00