Commit Graph

29 Commits

Author SHA1 Message Date
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
whitewindmills 58c15c8ed9 fix code inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-12 17:55:59 +08:00
karmada-bot 3ff49ad1d7
Merge pull request #4986 from whitewindmills/fix-aggregate-binding-status
Integrate UpdateStatus function
2024-06-11 19:48:39 +08:00
whitewindmills 6d18bea052 Integrate UpdateStatus function
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-11 16:57:51 +08:00
changzhen 64a5d0fa7a remove pp/cpp namespace/name labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-06-03 09:58:19 +08:00
whitewindmills a9f3c02948 clean up dead code of generating binding permanent id
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-16 16:46:28 +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
changzhen a16b4e220b replace work namespace/name labels with annotations
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-04-24 22:08:02 +08:00
whitewindmills b0bbaa32e7 Fix the bug of mcs binding losing resourcebinding.karmada.io/permanent-id label
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-09 18:30:43 +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
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
Mohammed Affan 970435c3d1 Add linting for unused parameters
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-01-13 12:26:54 +05:30
jwcesign 38b2cae7e1 cleanup: enable revive(exported rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-09 09:41:47 +08:00
jwcesign 3f6431dae2 feat: ignore reconcile the mcs triggered by svc if the mcs is not CrossCluster
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-20 10:21:58 +08:00
karmada-bot 515594592b
Merge pull request #4433 from jwcesign/report-event
feat: report event when the service doesn't exist/when endpointslice api is disabled
2023-12-20 09:25:16 +08:00
jwcesign 36ac29485e fix: clean the finalizer of mcs if the ExposureType transforms from CrossCluster to LoadBalancer
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-19 18:24:02 +08:00
jwcesign cfd88926dd feat: report event when the service doesn't exist/when endpointslice api is disabled
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-19 18:19:26 +08:00
jwcesign f0bc661579 fix: Update RB once new clusters are added to trigger the propagation of service to these new clusters
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 21:52:23 +08:00
jwcesign e77fe55851 feat: fix conflicts with pp
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 19:46:46 +08:00
jwcesign 090c1f0174 feat: clean eps work of the provison cluster once the mcs work deleted
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-07 14:09:07 +08:00
jwcesign cb6508b7ad feat: dispatch eps to the newly joined consumption clusters
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-05 20:20:52 +08:00
karmada-bot 0b1681ed83
Merge pull request #4360 from Rains6/dev-mcs-zhc
feat: sync mcs work when cluster joined or unjoin
2023-12-05 17:36:03 +08:00
HongCen 8277a985b0 List&watch cluster creation/deletion, reconcile the work in the corresponding cluster execution namespace
Signed-off-by: HongCen <zhouhongcen1@huawei.com>
2023-12-04 17:06:08 +08:00
jwcesign f2810b3dc9 cleanup: make the name unified of mcs
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-02 15:23:15 +08:00
jwcesign 471f8eb8f0 cleanup: change MultiClusterService corresponding label
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 23:26:33 +08:00
jwcesign ffed3f3b33 feat: clean the endpointslice if the current cluster is not in the mcs consumption clusters
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-30 20:26:20 +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
z00623291 33ae852fa0 List&watch mcs and service, reconcile the work in execution namespace
Signed-off-by: z00623291 <zhouhongcen1@huawei.com>
2023-11-29 17:50:26 +08:00