Commit Graph

625 Commits

Author SHA1 Message Date
xovoxy 5e66106f85 Improve test coverage for /pkg/controllers/certificate, with a minor optimization
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-23 12:49:14 +08:00
karmada-bot dc1669db71
Merge pull request #5388 from yashpandey06/test/binding
Added tests in pkg/binding for condition coverage
2024-08-22 10:31:41 +08:00
Yash Pandey 7bef0986ca Added and modified tests in binding common
Signed-off-by: Yash Pandey <yash.pandey@agoda.com>
2024-08-21 15:38:25 +05:30
karmada-bot 2c1e0f8b4e
Merge pull request #5368 from anujagrawal699/addedTests-pkg/controllers/namespace
Added test for namespace controller
2024-08-20 10:53:38 +08:00
changzhen b59761efcf fix error of when cluster status condition update
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-19 16:34:50 +08:00
Anuj Agrawal 4cc0c20a7c Added tests for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-17 20:50:49 +05:30
Anuj Agrawal b00fac8069 Added tests for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-17 19:15:53 +05:30
karmada-bot e7cb1332c5
Merge pull request #5318 from chaosi-zju/fixpatch
fix expected patch operations may be missed when AggregateStatus
2024-08-16 10:29:35 +08:00
Amir Alavi b27e669f48
fix: allow suspended work to get deleted
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-15 09:03:06 -04:00
Anuj Agrawal 633f5ba31e Added tests for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-14 22:33:20 +05:30
chaosi-zju 478b8c6456 fix expected patch operations may be missed when AggregateStatus
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-14 15:21:44 +08:00
Anuj Agrawal 57575675ef Added test for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-14 12:32:41 +05:30
Yash Pandey 4d49f36d09 Added unit test cluster_condition coverage : 100% (squashed commit)
Signed-off-by: Yash Pandey <yash.pandey@agoda.com>

Signed-off-by: Yash Pandey <yash.pandey@agoda.com>
2024-08-12 17:59:07 +05:30
karmada-bot 034b5d4ccf
Merge pull request #5342 from xovoxy/binding-ut
Improve test coverage for /pkg/controllers/binding
2024-08-12 15:20:31 +08:00
xovoxy effcc6c899 Improve test coverage for /pkg/controllers/binding
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-09 22:19:05 +08:00
Amir Alavi 8f707f35b4
work suspension: emit event for work dispatch status
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

fix lint

fix lint
2024-08-09 06:15:05 -04:00
karmada-bot 6e9136d5e9
Merge pull request #5310 from anujagrawal699/improveTestCoverage-pkg/controllers/context
Improve test coverage of pkg/controllers/context
2024-08-09 15:51:29 +08:00
karmada-bot fa05f9b600
Merge pull request #5317 from a7i/work-suspend-work-status-conditions
work suspension: work status conditions
2024-08-09 14:45:29 +08:00
chaosi-zju 16a4f42862 repair the test for rb status controller
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-08 12:18:39 +08:00
Amir Alavi 1d8e0a029e
work suspension: work status conditions
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-07 22:25:05 -04:00
Anuj Agrawal 4632376772 Improved test coverage of pkg/controllers/context
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-07 15:25:10 +05:30
Anuj Agrawal 59fe3901a2 Improved test coverage of pkg/controllers/context
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-07 12:24:13 +05:30
Anuj Agrawal ad46b67e2d Improved test coverage of pkg/controllers/context
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-07 12:20:35 +05:30
Anuj Agrawal baff21a75a Improved Test Coverage of pkg/controllers/context
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-07 09:26:45 +05:30
xovoxy 38ee277de7 optimize: used unified context in controller
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-06 11:44:20 +08:00
karmada-bot 4124ba8513
Merge pull request #5299 from whitewindmills/app-failover-logs
cleanup: Print seconds to avoid unreadable minutes
2024-08-06 10:27:26 +08:00
karmada-bot 920baceafd
Merge pull request #4838 from a7i/work-suspend
feat: cluster-level resource propagation pause and resume capabilities
2024-08-06 09:38:27 +08:00
whitewindmills 4af54fb68b Print seconds to avoid unreadable minutes
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-05 19:04:34 +08:00
karmada-bot 6b87604fed
Merge pull request #5281 from grosser/grosser/role-labels
add karmada.io/system label to created clusterrole+bindings
2024-08-02 18:04:23 +08:00
Michael Grosser f4df03f6e0
add karmada.io/system label to created clusterrole+bindings
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-31 18:46:21 -07:00
xovoxy f30e450a36 optimize: used a unified context in cluster_controller reconcile
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-07-31 15:36:58 +08:00
Amir Alavi 58dbd6b56e
feat: cluster-level resource propagation pause and resume capabilities
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-29 19:03:52 -04:00
karmada-bot c38f169916
Merge pull request #5247 from chaosi-zju/metrics
add metrics for recreate/update resource event when sync work status
2024-07-26 15:49:19 +08:00
chaosi-zju 32850c405c add metrics for recreate/update resource event when sync work status
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-07-26 11:17:48 +08:00
Michael Grosser 13f0f6e6d8
add karmada.io/system label to created execution namespaces
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-25 07:48:49 -07:00
changzhen d1c298ef3d make cleanup with multiclusterservice controllers
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-22 11:15:58 +08:00
karmada-bot a5070c758b
Merge pull request #5188 from XiShanYongYe-Chang/fix-residual-work-in-mcs
Fix the issue of residual work in the MultiClusterService feature.
2024-07-17 11:09:10 +08:00
changzhen fc73d6759e Fix the issue of residual work in the MultiClusterService feature.
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-13 19:02:28 +08:00
RainbowMango e8164eeebd Adopt controller-runtime braking changes: generics support PR2783
Adopt controller-runtime breaking changes: make decoder as interface. PR2736

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-13 16:49:01 +08:00
karmada-bot 25f9fdd8c0
Merge pull request #5147 from XiShanYongYe-Chang/remove-managed-label-in-collected-eps
Remove managed label in collected endpointslice and derived service
2024-07-08 09:56:02 +08:00
changzhen 81e30eb367 remove unused cleanup code in endpointslice-controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-06 17:53:12 +08:00
changzhen 9aee02019d remove managed label in collected endpointslice and derived service
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-06 17:37:17 +08:00
whitewindmills 2450bd6041 Correct licenses format
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-04 10:35:16 +08:00
karmada-bot f3b25c617d
Merge pull request #5042 from XiShanYongYe-Chang/add-work-namespace-annotations
add work namespace/name annotations in the endpointslice resources
2024-06-17 14:58:45 +08:00
karmada-bot b624cb8c64
Merge pull request #4867 from veophi/bugfix/deployment-generation
Align federated Deployment's observedGeneration semantics with its native
2024-06-17 11:18:44 +08:00
孙伟祥 933343df10 fix deployment observed generation logic
Signed-off-by: 孙伟祥 <sunweixiang@xiaohongshu.com>
2024-06-14 14:05:42 +08:00
whitewindmills 58c15c8ed9 fix code inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-12 17:55:59 +08:00
changzhen dca46571fe add work namespace/name annotations in the eps
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-06-12 16:29:00 +08:00
changzhen d5a317a165 fix-remedy-e2e-errors
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-06-12 15:22:01 +08:00
karmada-bot 95e32649a9
Merge pull request #5028 from RainbowMango/pr_nominate_owners
nominate code owners of scheduler, resourceinterpreter, apis
2024-06-12 09:34:40 +08:00