Commit Graph

617 Commits

Author SHA1 Message Date
chaunceyjiang 77e2157cf8 CommandArgsOverrider supports Job
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-17 14:32:33 +08:00
yike21 18ebee199f add unit test for pkg/resourceinterpreter/default/native/dependencies.go
Signed-off-by: yike21 <yike21@qq.com>
2023-04-13 17:56:55 +08:00
chaunceyjiang 6f3afbdbf2 fix: validates predicate path
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-12 13:47:28 +08:00
karmada-bot 9b4c9a8222
Merge pull request #3364 from whitewindmills/patch-util
use patch helper instead of jsonpatch
2023-04-10 19:10:58 +08:00
karmada-bot a7ae11c73d
Merge pull request #3123 from WulixuanS/fix/genericmanager
Avoid multiple executions after rlock in concurrent scenarios
2023-04-10 13:59:58 +08:00
karmada-bot 45fcc38535
Merge pull request #3315 from helen-frank/feature/parseSingle
parseSingle: add test
2023-04-10 10:59:58 +08:00
helen 94a78f9ab0 parseSingle add test
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-04-10 09:56:34 +08:00
karmada-bot 115d06eeee
Merge pull request #3357 from whitewindmills/sc-validation
fix that multiple same spread constraints are allowed
2023-04-08 09:01:55 +08:00
karmada-bot 7589eaec60
Merge pull request #3321 from Poor12/fix-duplicated
Do not revise replicas when strategy is duplicated
2023-04-07 08:11:55 +08:00
whitewindmills b15e43251b use patch helper instead of jsonpatch
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-06 16:04:58 +08:00
Poor12 75c638ddc1 do not revise replicas when duplicated
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-06 15:05:45 +08:00
wulixuan 8c63c146a4 Avoid multiple executions after rlock in concurrent scenarios
Signed-off-by: wulixuan <wulixuan@bilibili.com>
2023-04-06 13:49:04 +08:00
changzhen 1d0e6ced65 fix an issue where DeepEqual becomes invalid in aggregate binding status
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-04-04 16:32:16 +08:00
karmada-bot 8bec671e21
Merge pull request #3339 from yike21/bundle-kruise-resources-1
Add a function getPodDependencies for InterpretDependency operation
2023-04-04 10:55:53 +08:00
whitewindmills 9a408ab3d9 fix that multiple same spread constraints are allowed
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-02 22:52:24 +08:00
whitewindmills 26c787531e add placement helper
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-01 16:45:57 +08:00
yike21 9acd98faec Add a function getPodDependencies for InterpretDependency operation
Signed-off-by: yike21 <yike21@qq.com>
2023-04-01 11:42:08 +08:00
wenche e98599504f Fixed the control plane endpointslice cannot be deleted.
Signed-off-by: wenche <wenchuan.zhao@qq.com>
2023-03-31 13:55:55 +08:00
chaunceyjiang 7e2097f1f3 Optimize code directory structure.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-03-30 11:49:16 +08:00
helen 51365952b1 use rest.Config and check ca exist
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-03-22 15:52:55 +08:00
karmada-bot 40c202b937
Merge pull request #3288 from xigang/bugfix/gvk
bugfix: runtime.Object apiVersion/kind is empty
2023-03-17 15:27:21 +08:00
xigang a45711bb4b Add runtime.Object apiVersion/kind is empty check
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-03-17 13:09:35 +08:00
changzhen ada76ab7b7 implementing search proxy unifiedauth
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-03-17 10:10:18 +08:00
karmada-bot 1a1a4b2f37
Merge pull request #3232 from whitewindmills/spreadconstraints-validation
fix bug that spreadconstraints are not validated correctly
2023-03-07 18:48:13 +08:00
whitewindmills ae325b8dd0 fix bug that spreadconstraints are not validated correctly
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-03-07 17:32:01 +08:00
karmada-bot d4ddd6c47c
Merge pull request #3202 from Poor12/add-bindingstatus-controller
Add bindingstatus controller
2023-03-07 17:21:13 +08:00
Poor12 e7f70a00b6 fix issue when cluster fails and recovers
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-03-07 15:39:25 +08:00
karmada-bot 69d330f04c
Merge pull request #3210 from XiShanYongYe-Chang/update-rb-status-conditions-only-after-scheduling
Update the RB condition is updated only after scheduling
2023-02-27 10:38:06 +08:00
karmada-bot 6a7fbbafd9
Merge pull request #3201 from whitewindmills/fixbug-workname
fix the bug that the work object may contain uppercase characters
2023-02-27 09:31:06 +08:00
changzhen da0664728c the condition is updated only after scheduling
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-27 09:27:45 +08:00
hejunhua 32af87abef fix the bug that the work object may contain uppercase characters
Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>
2023-02-25 22:46:00 +08:00
karmada-bot 03b1f6b3f3
Merge pull request #3192 from Fish-pro/fix/refine
Refine the TestClusterMatches
2023-02-23 17:15:03 +08:00
changzhen eecadfd43a add bindingStatus controller to aggregate work status and update the
status of resource template

Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-23 16:08:36 +08:00
Zechun Chen 031eef206d Refine the TestClusterMatches
Signed-off-by: Zechun Chen <zechun.chen@daocloud.io>

Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2023-02-23 16:04:06 +08:00
karmada-bot 03fb8e3809
Merge pull request #3182 from jwcesign/refactor-execution-controller
Refactor execution_controller.go and objectwatcher.go
2023-02-23 15:45:03 +08:00
jwcesign c923705c69 Refactor execution_controller.go
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-02-23 14:34:24 +08:00
chaunceyjiang 35f3e3f306 feat: validates the fieldSelector of overridepolicy
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-23 11:25:24 +08:00
chaunceyjiang 8fd5d6dc23 feat: validates the fieldSelector of overridepolicy
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-22 22:03:52 +08:00
karmada-bot b540174af7
Merge pull request #3157 from jwcesign/fix-GenerateBindingReferenceKey
Make the result unique for GenerateBindingReferenceKey function
2023-02-20 13:19:00 +08:00
jwcesign ab94d95e0c Use / as the delimiter
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-02-20 11:43:30 +08:00
changzhen 42c2e3c643 add validation for orderedClusterAffinities
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-18 15:45:44 +08:00
karmada-bot dbed0f6d79
Merge pull request #3099 from chaunceyjiang/delete_labels_annotataions
feat: support for removing annotations/labels propagated through karmada
2023-02-10 17:14:55 +08:00
chaunceyjiang df43a00e52 feat: support for removing annotations/labels propagated through karmada
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-10 16:00:21 +08:00
karmada-bot 7dcb99b8c5
Merge pull request #3115 from VedRatan/issue_3091
Replace Hashsets with Sets
2023-02-07 20:34:50 +08:00
Ved Ratan 2a8c0ff267 replace hashsets with sets
Signed-off-by: Ved Ratan <vedratan8@gmail.com>

remove hashset pkg

Signed-off-by: Ved Ratan <vedratan8@gmail.com>
2023-02-07 14:49:33 +05:30
Fish-pro 05c759a19a Use http constants instead of string
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-07 15:51:00 +08:00
karmada-bot 8f83031603
Merge pull request #3088 from chaunceyjiang/labels
feat: Retain the labels added to resources by member clusters
2023-02-01 15:15:33 +08:00
chaunceyjiang d90713bedb feat: retain labels
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-01 14:05:52 +08:00
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
karmada-bot db4de92607
Merge pull request #3037 from chaunceyjiang/composedlabels
fix: OverridePolicy of labels/annotations with composed-labels
2023-01-13 09:59:05 +08:00