Commit Graph

812 Commits

Author SHA1 Message Date
Amir Alavi 8f707f35b4
work suspension: emit event for work dispatch status
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

fix lint

fix lint
2024-08-09 06:15:05 -04:00
karmada-bot 37488bd109
Merge pull request #5331 from NishantBansal2003/unit-tests-util-common
Add unit tests for common.go in pkg/util
2024-08-09 17:53:29 +08:00
Nishant Bansal bf0294be91 Add unit tests for common.go in pkg/util
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-09 14:14:33 +05:30
karmada-bot 052b06ecc2
Merge pull request #5333 from a7i/duplicate-import
chore: remove duplicate imports
2024-08-09 14:52:29 +08:00
karmada-bot fa05f9b600
Merge pull request #5317 from a7i/work-suspend-work-status-conditions
work suspension: work status conditions
2024-08-09 14:45:29 +08:00
Amir Alavi 010d38954e
chore: remove duplicate imports
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-08 23:22:37 -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
karmada-bot da74c2de65
Merge pull request #5302 from NishantBansal2003/add-unit-tests-util
Add 100% unit test coverage for annotation and label in pkg/util
2024-08-08 09:35:28 +08:00
Nishant Bansal 5643f77e7b Add 100% unit test coverage for annotation and label in pkg/util
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-07 16:04:43 +05:30
Amir Alavi d9e174b014
work suspension: webhook validation
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-06 23:53:34 -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
karmada-bot 920baceafd
Merge pull request #4838 from a7i/work-suspend
feat: cluster-level resource propagation pause and resume capabilities
2024-08-06 09:38:27 +08:00
chaosi-zju fbb7a5e926 only generate json patch for status filed when patchBindingStatus
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-07-30 15:37:50 +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 d1c298ef3d make cleanup with multiclusterservice controllers
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-22 11:15:58 +08: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
karmada-bot 7f0961f06c
Merge pull request #5177 from RainbowMango/pr_adopt_deprecated_addtoscheme
Adopt deprecated AddToScheme functions
2024-07-12 17:50:05 +08:00
Amir Alavi 284dd278db
set karmada.io/system label to all member cluster registration resources
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-11 14:42:30 -04:00
RainbowMango 5d14b8d254 Adopt deprecated AddToScheme functions
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-11 15:09:13 +08:00
whitewindmills 2450bd6041 Correct licenses format
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-04 10:35:16 +08:00
zhzhuang-zju acdd2115c6 Adding TLS Certificate Authentication to gRPC
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-06-21 15:56:20 +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
karmada-bot d05b92153b
Merge pull request #4998 from chaosi-zju/dev
fix demo for dependencyInterpretation
2024-06-05 10:50:34 +08:00
chaosi-zju 3c731e5d08 fix demo for dependencyInterpretation
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-06-04 11:50:30 +08:00
changzhen 6edf69debb fix upgrade error with #5003
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-30 18:07:07 +08:00
changzhen 8ec02ca39b add verify for all kinds of interpters with InterpretDependency operation
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-28 20:00:00 +08:00
Lan Liang ed0f26c328 cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.

See kubernetes/utils#283 for details.

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
changzhen 89f8a1bf36 add binding dependencies distributor finalizer to the independent binding
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-25 15:45:35 +08:00
changzhen 89088a6fe2 update relate binding name and comments for ease of understanding
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-25 10:55:31 +08:00
RainbowMango a0ace65395 Removed deprecated --cluster-zone from karmadactl join command
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-22 16:23:25 +08:00
RainbowMango 197d3358f7 Fixed golint issues and new piecies of wait.Poll
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-22 11:39:45 +08:00
Mohammed Affan 6a07cca040 Migrate deprecated wait.poll
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-05-22 11:19:51 +08:00
karmada-bot 2ddebf1c64
Merge pull request #4960 from chaosi-zju/files
cleanup: grant the correct permissions when creating a file
2024-05-22 09:36:18 +08:00
chaosi-zju 472da38a6c cleanup: grant the correct permissions when creating a file
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 09:30:38 +08:00
chaosi-zju dee30c821b upgrade rsa key size from 2048 to 3072
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 09:18:30 +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
karmada-bot 6cfed59332
Merge pull request #4930 from zhzhuang-zju/golangciwith1.58.0
Bump golangci-lint to v1.58.0
2024-05-15 17:20:19 +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 93a04cbf0d Generate work permanent id in webhook
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-11 09:38:37 +08:00
karmada-bot e30ca1b9cc
Merge pull request #4882 from whitewindmills/work-labels-annotations
Use webhook to set associated labels and annotations of work
2024-05-10 11:51:33 +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
wei-chenglai 409c1c703b Bump sigs.k8s.io/controller-runtime to v0.17.5
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-05-08 21:16:15 -04:00
Amir Alavi 2f3ac7dc79
chore: reuse proxyutil import for proxy
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-05-06 18:48:31 -04:00
karmada-bot f33f3f8bf3
Merge pull request #4474 from jwcesign/add-uid
feat: add permanent id label to pp/cpp/rb/crb/work resources
2024-04-30 11:39:24 +08:00
whitewindmills f9f3d47c30 ObjectWatcher.Delete checks if resource can be deleted
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-28 18:45:44 +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
karmada-bot 68577f19f9
Merge pull request #4743 from whitewindmills/deprecated-labels
Deprecate name/namespace labels of pp/cpp
2024-04-25 20:47:02 +08:00
chaosi-zju c600991f36 Introduce a new API named WorkloadRebalancer to support rescheduling.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-23 10:34:11 +08:00