Commit Graph

31 Commits

Author SHA1 Message Date
zach593 707e4422c2 add work mutating in ctrlutil.CreateOrUpdateWork()
Signed-off-by: zach593 <zach_li@outlook.com>
2025-02-24 13:56:53 +08:00
zach593 807153fdff move CreateOrUpdateWork() and related functions to controllers/ctrlutil
Signed-off-by: zach593 <zach_li@outlook.com>
2025-01-10 11:34:58 +08:00
zach593 e2827b1b2e Add index for Work to speed up the processing of resource binding related controllers
Signed-off-by: zach593 <zach_li@outlook.com>
2024-11-19 11:48:04 +08:00
Amir Alavi 866959a072
implement preserveResourcesOnDeletion to support migration rollback
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-14 20:36:53 -04: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
xovoxy 38ee277de7 optimize: used unified context in controller
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-06 11:44:20 +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
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
changzhen 6edf69debb fix upgrade error with #5003
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-30 18:07:07 +08:00
whitewindmills 93a04cbf0d Generate work permanent id in webhook
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-11 09:38:37 +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 f8d6be5320 Deprecate key labels of rb/crb
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-10 11:30:43 +08:00
whitewindmills 9c08138f5b Use merge strategy to avoid work.karmada.io/permanent-id changes.
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-03 10:46:05 +08:00
whitewindmills ce84edfe12 labels cannot be deleted via Karmada propagation
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-03-30 21:31:47 +08:00
changzhen e511ad7bfc remove old MergeAnnotation func and rename ReplaceAnnotation func to MergeAnnotation
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-30 09:43:12 +08:00
changzhen b808f37847 fix wrong annotation marks on resource
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-26 20:00:14 +08:00
Lan Liang cd2812e30e Delete the labels of uid.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-18 03:00:19 +00: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
karmada-bot 55547b2acf
Merge pull request #4199 from jwcesign/add-id-label
feat: add resource id label
2023-11-23 10:44:52 +08:00
jwcesign 7e6387e98f feat: add resoruce id label
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-20 11:07:11 +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
chaosi-zju 2b060cbf3b feat: realization of ConflictResolution in PP.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-07-25 20:23:37 +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
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
chaunceyjiang 5350072889 fix binding reference key hash collision
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-04 09:42:51 +08:00
hanweisen f43f67367c add syncEvent from execution_controller to resource
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-10 09:58:07 +08:00
changzhen fdc2fdb370 eliminate duplicate getworks function
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-01 09:52:51 +08:00
pigletfly c996f6bd5b Add retry on CreateOrUpdateWork
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-09 17:00:56 +08:00
changzhen cac82db303 move binding's namespace/name from work's label to annotation
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-09 16:28:00 +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
changzhen f32bd501e6 add service_export_controller to watch serviceexport and report endpointslices to karmada
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-03 16:33:07 +08:00