Commit Graph

1819 Commits

Author SHA1 Message Date
karmada-bot e47d6cb71b
Merge pull request #2949 from yanfeng1992/fixbug-unjoin-wait
CommandUnjoinOption wait must be a positive duration
2022-12-14 14:09:22 +08:00
karmada-bot 0131bffaae
Merge pull request #2879 from carlory/validate
move validation funcs into util/validation
2022-12-14 10:10:23 +08:00
karmada-bot 96832a5f37
Merge pull request #2947 from XiShanYongYe-Chang/flaking-test
fix failing test of editing policy resourceSelectors
2022-12-13 17:51:22 +08:00
karmada-bot f029394009
Merge pull request #2912 from jwcesign/fix-pp-rb
fix a corner case that re-schedule be skipped in case of the cluster becomes not fit.
2022-12-13 17:06:27 +08:00
changzhen 598935a5f7 fix flaking test of editing policy resourceSelectors
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-12-13 16:55:31 +08:00
jwcesign 950b614fa7 Fix resource hangover in member cluster when propagating matching changes
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-13 14:55:50 +08:00
changzhen 5ed2100ee1 support multiple dependencyInterpreter lua script for one gvk
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-12-13 10:30:33 +08:00
huangyanfeng 17f105de05 CommandUnjoinOption wait must be a positive duration
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2022-12-12 17:43:48 +08:00
karmada-bot 37cca1cd8d
Merge pull request #2928 from Fish-pro/fix/healthy
Fix misjudgment of deployment and statefuleset health status
2022-12-12 14:51:21 +08:00
chen zechun ec8f4c2a54 Fix Deployment and Statefulset health judgments
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-12 13:53:54 +08:00
karmada-bot 941637e805
Merge pull request #2942 from helen-frank/fix/namespace_sync_controller-buildWorks
need return after ch <-
2022-12-12 11:54:22 +08:00
karmada-bot 605fb36366
Merge pull request #2940 from kingkonghong/duplicate-resourceinterpreterwebhookconfigurations-rbac
Remove duplicate RBAC permission configurations
2022-12-12 09:48:21 +08:00
helen 681d51bd7f need return after ch <-
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-11 20:28:55 +08:00
kingkonghong 3d40d6cf26 Remove duplicate RBAC permission configurations
Signed-off-by: kingkonghong <jayfantasyhjh@gmail.com>
2022-12-09 18:13:12 +08:00
karmada-bot c7232f824b
Merge pull request #2930 from Poor12/fix-recover
Fix work status not sync to control plane when apiserver failed and recovered soon
2022-12-09 17:32:24 +08:00
Poor12 7c4cd0b5b6 fix work status not sync to control plane
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-09 15:43:34 +08:00
karmada-bot 1541db26d5
Merge pull request #2919 from Poor12/improve-auto-generate-pp
Replace colon with point in the rbac resource name
2022-12-09 11:33:19 +08:00
yingjinhui 0f5e377d9f add kube lib for lua
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-08 22:14:04 +08:00
karmada-bot 5f673cbde8
Merge pull request #2918 from qingwave/unstructured-ut
[UT] Add unstructed helper uinttest
2022-12-08 18:00:18 +08:00
karmada-bot efb50ade80
Merge pull request #2916 from chaunceyjiang/resourceinterpretercustomizations
fix resourceinterpretercustomizations webhook
2022-12-08 16:51:30 +08:00
qingwave e171c4cac6 add unstruucted helper uinttest
Signed-off-by: qingwave <isguory@gmail.com>
2022-12-08 08:37:03 +00:00
karmada-bot 95412f1942
Merge pull request #2915 from kingkonghong/master
fix that validating for resourceinterpreterwebhookconfigurations does…
2022-12-08 12:17:18 +08:00
Poor12 cfacfb2f10 replace colon with point in the rbac resource name
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-08 11:59:08 +08:00
karmada-bot 8af17ca382
Merge pull request #2911 from yanfeng1992/fixbug_impersonation_subject_deduplicate
generate PolicyRules from given subjects for impersonation deduplicate
2022-12-08 11:36:18 +08:00
huangyanfeng 1e1506332e generate PolicyRules from given subjects for impersonation deduplicate
Signed-off-by: huangyanfeng <huangyanfeng@cestc.com>

generate PolicyRules add ut case for check deduplicate

Signed-off-by: huangyanfeng <huangyanfeng@cestc.com>

import format

Signed-off-by: huangyanfeng <huangyanfeng@cestc.com>
2022-12-08 10:31:37 +08:00
karmada-bot 60a9a649ed
Merge pull request #2880 from helen-frank/feature/buildWorksConcurrency
namespace_sync_controller: buildWorks parallel sync namespace
2022-12-08 10:30:18 +08:00
helen 2f3d6dc859 namespace_sync_controller: buildWorks parallel sync namespace
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-07 20:25:54 +08:00
chaunceyjiang 2aa025da76 fix resourceinterpretercustomizations webhook
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-07 18:05:55 +08:00
hejunhua 406cce3de6 fix that validating for resourceinterpreterwebhookconfigurations does not work
Signed-off-by: hejunhua <hejunhua@cestc.cn>
2022-12-07 17:54:04 +08:00
karmada-bot e6ba531a73
Merge pull request #2881 from ikaven1024/ut-interpret
[UT] add ut for interpret command
2022-12-07 10:29:18 +08:00
yingjinhui 36bc23183b ut for interpret command
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-06 12:30:44 +08:00
karmada-bot 69bd4ece52
Merge pull request #2883 from ikaven1024/pr-pool-metric
add metrics for pool
2022-12-06 11:29:16 +08:00
karmada-bot 9784ed3a5d
Merge pull request #2609 from chaunceyjiang/implicit
add implicit priority for OP and COP
2022-12-06 10:34:16 +08:00
karmada-bot ad50c02bf3
Merge pull request #2903 from Fish-pro/fix/typo
Modify the error log output
2022-12-05 20:51:16 +08:00
yingjinhui 45d85bb46c add metrics for pool
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-05 20:34:23 +08:00
chen zechun 7b64cc5e4e Correct the typos
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-05 18:27:28 +08:00
lonelyCZ f6721c4936 Fix that karmada-agent don't have permission to delete work resources
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-12-05 16:23:13 +08:00
RainbowMango f6dc267e46 Remove redundant pointer use of atomic types
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-12-01 18:26:19 +08:00
karmada-bot 0035d7a23b
Merge pull request #2885 from chaunceyjiang/atomic
go1.19: change some atomic.Value to atomic.Bool
2022-12-01 18:14:12 +08:00
karmada-bot 97e859525a
Merge pull request #2895 from ikaven1024/fix-ut-hassynced
fix ut: HasSynced error
2022-12-01 16:13:45 +08:00
karmada-bot 2224d1e700
Merge pull request #2882 from Zhuzhenghao/registry.k8s.io
Move to registry.k8s.io
2022-12-01 15:08:03 +08:00
yingjinhui b1e5bf093b fix ut: HasSynced error
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-01 14:54:52 +08:00
karmada-bot b94500a27d
Merge pull request #2893 from Fish-pro/clean/errlint
Use errors.Is to check for a specific error
2022-12-01 12:17:13 +08:00
karmada-bot 464270f7c2
Merge pull request #2845 from Garrybest/pr_division
refactor static weight strategy
2022-12-01 10:41:15 +08:00
chen zechun 3c80772667 Modify error comparison
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-11-30 21:02:59 +08:00
RainbowMango 873cd9f3e6 Nominate resource interpreter owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-30 18:03:13 +08:00
chaunceyjiang 05a235caa2 go1.19: change some atomic.Value to atomic.Bool
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-30 10:53:48 +08:00
zhuzhenghao 915b1857c9 Move to registry.k8s.io
Signed-off-by: zhuzhenghao <zhenghao.zhu@daocloud.io>
2022-11-29 18:55:22 +08:00
karmada-bot 84b971a501
Merge pull request #2773 from Poor12/add-dependencies-event
Add getDependencies and syncScheduleResultToDependencies event
2022-11-29 15:37:11 +08:00
chaunceyjiang 200a58768e add implicit priority for OP and COP
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-29 11:26:24 +08:00