Commit Graph

63 Commits

Author SHA1 Message Date
zhzhuang-zju dc3df3b3b2 karmada lua uses more secure string functions
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-01-27 11:28:04 +08:00
karmada-bot acce8fd5d8
Merge pull request #5772 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/cache/node_tree_test.go
Added unit tests for the scheduler's node tree functionality
2024-12-07 19:43:12 +08:00
Anuj Agrawal 55707d8a4f Added unit tests for the scheduler's node tree functionality
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the scheduler's node tree functionality

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the scheduler's node tree functionality

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-06 15:52:09 +05:30
karmada-bot b3dad9bdc5
Merge pull request #5819 from anujagrawal699/addedTest-pkg/util/lifted/lua
Added unit tests for safe lua lifted libraries
2024-12-04 09:58:08 +08:00
chaosi-zju 13c28a00b2 fix code typo errors
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-28 11:01:54 +08:00
Anuj Agrawal efff5bca9d Added unit tests for safe lua lifted libraries
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-14 22:49:29 +05:30
karmada-bot d8b58c4f74
Merge pull request #5770 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/cache/snapshot_test.go
Added unit tests for the scheduler cache snapshot functionality
2024-11-11 11:35:49 +08:00
Anuj Agrawal 085b433f49 Added unit tests for scheduler's cache package
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for scheduler's cache package

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-07 09:43:57 +05:30
Anuj Agrawal 8ea31a8d5c Added unit tests for the scheduler cache snapshot functionality
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-01 15:44:13 +05:30
Anuj Agrawal 4f160e297d Added unit tests for scheduler framework types
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-28 15:59:21 +05:30
Anuj Agrawal 35b92e4c1b Added second part of unit tests for pkg/util/lifted/corev1printers.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-16 20:53:53 +05:30
Anuj Agrawal ace0e69099 Added first part of unit tests for pkg/util/lifted/corev1printers.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-14 22:12:15 +05:30
karmada-bot d8b1889321
Merge pull request #5682 from anujagrawal699/addedTests-pkg/util/lifted/podtemplate.go
Added unit tests for pkg/util/lifted/podtemplate.go
2024-10-14 11:59:25 +08:00
Anuj Agrawal b30b04fa4b Added tests for pkg/util/lifted/validateclustertaints.go and validatingmcs.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-12 18:34:30 +05:30
Anuj Agrawal 5124c2d164 Added unit tests for pkg/util/lifted/podtemplate.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-12 17:20:11 +05:30
Anuj Agrawal e9f4e7a6ca Added unit tests for FederatedHPA validation
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-10 13:55:15 +05:30
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
Amir Alavi 010d38954e
chore: remove duplicate imports
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-08 23:22:37 -04:00
whitewindmills 2450bd6041 Correct licenses format
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-04 10:35:16 +08:00
whitewindmills 58c15c8ed9 fix code inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-12 17:55:59 +08:00
Lan Liang ed0f26c328 cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.

See kubernetes/utils#283 for details.

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
chaosi-zju dee30c821b upgrade rsa key size from 2048 to 3072
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 09:18:30 +08:00
changzhen 70afc1ad6d add remedy group api and update cluster api
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 21:29:13 +08:00
niuyueyang 4aecca59ef support node/pod TableConvertor.
Signed-off-by: niuyueyang <719415781@qq.com>
2024-02-05 11:37:13 +08:00
changzhen f2a260641b remove redundant os preload
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-16 11:01:57 +08:00
changzhen 6b5dc9f850 disable unsafe lua library function
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-11 16:49:43 +08:00
zhzhuang-zju 5e99881e59 correct the license in the lifted directory
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2023-11-30 20:21:36 +08:00
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
lxtywypc 67de65d892 Revert "Merge pull request #3808 from ctripcloud/refactor-execution-workstatus"
This reverts commit 90ccbcdfce, reversing
changes made to 24bb582950.

Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-31 14:23:58 +08:00
lxtywypc 89e3673fbb only update object in member cluster by execution controller
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-08-16 16:36:22 +08:00
jwcesign 26ed43eec4 feat: allow custom metrics configuration of FederatedHPA
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-21 17:19:36 +08:00
Tanggui Bian 2390cde5f8 update lifted files to k8s 1.26
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-07-17 17:07:13 +08:00
zishen b7e6826abc update some lift file logical
Signed-off-by: zishen <softwarebtg@163.com>
2023-07-15 16:48:42 +08:00
yike21 9079268ebb add validation for mcs
Signed-off-by: yike21 <yike21@qq.com>
2023-07-12 09:21:48 +08:00
jwcesign 06960c22c0 feat: add validation for federatedhpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-30 20:43:57 +08:00
Poor12 3a1464828a add hpa controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-30 17:26:02 +08:00
karmada-bot 9d72f27329
Merge pull request #3504 from realnumber666/add-unit-test
Add UT for pkg/util/lifted
2023-05-15 09:28:56 +08:00
rayywu 5977e1bd00 Add UT for pkg/util/lifted
Signed-off-by: rayywu <rayywu@tencent.com>
2023-05-14 01:33:12 +08:00
changzhen c04fd6ad62 add validation for mci
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-05-12 15:49:50 +08:00
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
RainbowMango f8646f5d91 Update Golang version from v1.18.3 to v1.19.3
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 19:47:12 +08:00
zhangyukun d4e5f04791 Resource Interpreter framework introduce Lua runtime layer
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-11-08 09:17:33 +08:00
Garrybest f52043b447 add lifted files
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
Poor12 1414d7b9ba add gen-docs
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 15:35:46 +08:00
Poor12 def9933fcf fix serviceaccount continual regeneration by service account controller in member clusters
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-12 10:01:49 +08:00
Poor12 d0f76e1070 add ut for lifted codes
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-09-29 10:55:54 +08:00
lixingchenDaoCloud 1bf4fb8a86 Remove redundant type conversions
Signed-off-by: lixingchenDaoCloud <captainchina_li@163.com>
2022-09-28 23:25:59 +08:00
lonelyCZ fbc9599510 Implement karmadactl token command to manage bootstrap tokens
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 11:31:00 +08:00
carlory 0bf9750533 remove unused lifted codes
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-13 22:09:03 +08:00