whitewindmills
6d18bea052
Integrate UpdateStatus function
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-11 16:57:51 +08:00
zhzhuang-zju
13e13e9c14
migrate wait.PollUntil to wait.PollUntilContextCancel
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-16 11:16:11 +08:00
zhzhuang-zju
309c67701b
bump golangci to v1.58.0
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
whitewindmills
a5d8ba7c09
Use webhook to set associated labels and annotations of work
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-10 11:03:19 +08:00
whitewindmills
8328054439
Deprecate name/namespace labels of work
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-28 15:22:44 +08:00
huangyanfeng
7c2b3e19ee
if an error is non-nil not need to set Result.Requeue true
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-04-03 14:08:22 +08:00
changzhen
3121bd9b88
fix bug of wrong delete endpointslice collect from member cluster
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-28 20:36:20 +08:00
changzhen
6b8e73e37a
add endpointslice-controller finalizer for Endpointslice Work object
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-27 14:44:49 +08:00
changzhen
d7db9c5acc
fix eps remain when karmada-controller-manager restart
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-27 14:30:45 +08:00
jwcesign
cebb1eac03
feat: add manager label to eps work to avoid the conflicts between mcs/serviceexport
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2024-01-29 20:22:36 +08:00
jwcesign
5932615cba
feat: support mcs with native svc name
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 15:55:15 +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
Amir Alavi
121afd21ff
add managed-by label to resources created by karmada controllers ( #3262 )
...
* update value of managed-by label to 'karmada'
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
* change managed by label to a karmada reserved label
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
---------
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2023-05-12 14:35:24 +08:00
karmada-bot
434b7b6578
Merge pull request #3003 from Fish-pro/fix/klogformat
...
Fix log output errors
2022-12-29 18:06:50 +08:00
karmada-bot
a20dd6e630
Merge pull request #2935 from jwcesign/code-review-fix-v2
...
Delete the redundant logic in func GenerateExecutionSpaceName
2022-12-29 15:39:50 +08:00
chen zechun
f3e0b45521
Modify log output errors
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-29 13:58:00 +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
jwcesign
8acd1a4503
Delete the redundant logic in func GenerateExecutionSpaceName
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-28 15:59:24 +08:00
Poor12
ddf05632fa
add event for mcs
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-24 09:38:11 +08:00
yanggang
a0a7674d26
reuse context for controller-manager base-context
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2022-11-05 18:51:06 +08:00
RainbowMango
8461e4fb8c
rename and re-organize the informermanager
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 17:24:23 +08:00
weilaaa
4ed701069d
optimize unstructured convert methods
...
Signed-off-by: weilaaa <weilanidaye@gmail.com>
2022-08-04 11:38:25 +08:00
calvin0327
532b22f80d
cleanup federated resource quota
...
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-07-08 09:55:22 +08:00
chaunceyjiang
3dc02a8a07
fix import error
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-01 11:28:20 +08:00
chaunceyjiang
17a44ae041
When ServiceImportType is Headless, it should be ignored
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-31 15:37:24 +08:00
Garrybest
d1ce1a126d
fix implicit issue for event filter
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-30 10:48:32 +08:00
changzhen
43fde63b4d
update judge work contains serviceExport with work.spec.workload.manifests
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-26 20:43:06 +08:00
pigletfly
9e28d6c6e8
add ratelimiter flags
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-03 16:09:39 +08:00
Garrybest
0777cf064c
clean up GetObjectFromCache
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:38 +08:00
ashley-rongfang
a1c25ae4a8
Update first in RetryOnConflict
...
Signed-off-by: ashley-rongfang <rongfang@huawei.com>
2022-01-18 11:05:27 +08:00
pigletfly
28f1fbf985
Retry on status update conflict
...
Signed-off-by: pigletfly wangbing.adam@gmail.com
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-10 17:44:29 +08:00
karmada-bot
5eefcd6a49
Merge pull request #1053 from mrlihanbo/delete-work-bugfix
...
abort deleting workload when the member cluster is unready
2021-12-20 17:07:27 +08:00
lihanbo
5290f07345
abort deleting workload when the member cluster is unready
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-19 14:29:12 +08:00
changzhen
586cd9d407
update discoveryv1beta1 to discoveryv1 for endpointslice
...
Signed-off-by: changzhen <changzhen5@huawei.com>
Signed-off-by: Shike-Ada <1073457937@qq.com>
2021-12-18 17:19:21 +08:00
jingxueli
0aec855964
set default for clusterCacheSync timeout and make it configurable
...
Signed-off-by: jingxueli <jingxueli@trip.com>
2021-12-16 21:28:04 +08:00
Garrybest
7445bd90da
fix slow enqueue of async worker
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-12-04 19:44:33 +08:00
karmada-bot
9d31827a4b
Merge pull request #925 from pigletfly/refactor-object-watcher
...
refactor object watcher interface
2021-11-08 11:39:42 +08:00
pigletfly
dac00692e7
refactor object watcher interface
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-11-05 23:26:51 +08:00
lihanbo
ac3878ec03
add Timeout in WaitForCacheSync
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-11-05 13:50:30 +08:00
wawa0210
597abca96e
Delete EndpointSlice should consider the situation that it no longer exists
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-25 21:18:42 +08:00
lihanbo
fed776f419
ignore not found err when delete resource
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-10-18 19:34:30 +08:00
Garrybest
08fa785670
run async worker with no intervals
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-10-18 10:58:49 +08:00
Garrybest
e9a7a2a022
clean up unstructured conversion
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-29 11:33:19 +08:00
changzhen
e118c7909e
fix an error when karmada-controller-manager restart
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-26 20:39:51 +08:00
esto
a6165e47f9
update import-aliases
...
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +08:00
Garrybest
1452fa57e3
modify usage of informer-manager
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-16 17:16:42 +08:00
pigletfly
8edb376966
Move labels to apis
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-08-06 00:03:00 +08:00
changzhen
0f1ce4e1d9
add e2e test for MCS feature
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-21 16:46:10 +08:00
changzhen
12e2585e82
Cleanup cyclomatic complexity with function EnsureWork
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-14 20:43:45 +08:00
karmada-bot
1f8c6a9bba
Merge pull request #508 from XiShanYongYe-Chang/webhook
...
Mutate policy's ResourceSelectors in webhook
2021-07-09 18:11:28 +08:00