Commit Graph

3106 Commits

Author SHA1 Message Date
yingjinhui 38b5eabb4a clean up proxy repeating code
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-31 21:35:52 +08:00
karmada-bot dc8e5d20fe
Merge pull request #2713 from cmicat/test/proxy
Fix Test Not Success in GoLand
2022-10-31 19:55:42 +08:00
raymondmiaochaoyue 5c911ee09d fix test error
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-10-31 17:55:30 +08:00
karmada-bot ca0f10c5ad
Merge pull request #2502 from calvin0327/compatible-with-1.24-master-label
karmadactl are compatible with v1.24 master node label
2022-10-31 17:24:23 +08:00
karmada-bot 7765904094
Merge pull request #2711 from Poor12/fix-chart-lint
fix chart lint failure
2022-10-31 16:57:41 +08:00
karmada-bot bd8d734054
Merge pull request #2678 from cmicat/feature/proxy-connector-framework
Add Proxy Framework
2022-10-31 15:55:24 +08:00
karmada-bot aae442f065
Merge pull request #2704 from Garrybest/pr_estimator
leverage scheduler cache to estimate replicas
2022-10-31 15:48:46 +08:00
Poor12 ac7619fb13 fix chart lint failure
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-31 15:34:36 +08:00
raymondmiaochaoyue 7e24783b36 Add proxy framework.
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-10-31 14:50:15 +08:00
karmada-bot 12ed020443
Merge pull request #2705 from ikaven1024/ut-binding
[ut] add ut for binding.go
2022-10-31 11:53:23 +08:00
RainbowMango e97e9f9762 Add code coverage badge to provide quick insight.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-31 11:14:28 +08:00
yingjinhui d776fd9d33 [ut] add ut for binding.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-31 10:55:00 +08:00
karmada-bot 7215974c8d
Merge pull request #2699 from wlp1153468871/wlp
fix wrong description for token commond
2022-10-31 09:38:41 +08:00
karmada-bot 43ca2d996c
Merge pull request #2698 from ikaven1024/ut-cluster
[ut] add ut for cluster.go, clusterlease.go, membercluster_client.go
2022-10-31 09:30:24 +08:00
Garrybest a0b7ba5d1d leverage scheduler cache to estimate replicas
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
Garrybest f52043b447 add lifted files
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
Garrybest 40becff2a1 add vendor files
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
yingjinhui 331ac98671 [ut] add ut for predicate.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-29 23:28:03 +08:00
yingjinhui 68e24a2f4e [ut] add ut for cluster.go, clusterlease.go, membercluster_client.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-29 22:07:38 +08:00
karmada-bot 026781f207
Merge pull request #2696 from jwcesign/add-ns-sync-labels
Add label "namespace.karmada.io/skip-auto-propagation" to control whether to propagate ns to member clusters
2022-10-29 14:59:22 +08:00
jwcesign ecfec33ec3 Add label "namespace.karmada.io/skip-auto-propagation" to control whether to propagate ns to member clusters
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-10-29 11:35:38 +08:00
karmada-bot bb5278ae60
Merge pull request #2681 from RainbowMango/pr_configurable_interpreter_api
Add configurable interpreter api
2022-10-29 10:04:21 +08:00
wlp1153468871 bb0ba44e71 fix error description
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-10-28 18:55:16 +08:00
karmada-bot e6e946ff51
Merge pull request #2693 from XiShanYongYe-Chang/install-resourceinterpretercustomization-crd
Install ResourceInterpreterCustomization CRD
2022-10-28 12:53:39 +08:00
changzhen 63fe45de67 install ResourceInterpreterCustomization CRD
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-10-28 12:02:09 +08:00
RainbowMango b2b53cd9d8 Add configurable interpreter api
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-28 10:26:59 +08:00
karmada-bot bc0195305d
Merge pull request #2686 from my-git9/pullpolicy5
Defaults to 'Always' if image tag is 'latest' for chart
2022-10-28 09:28:22 +08:00
karmada-bot f54375d974
Merge pull request #2672 from ikaven1024/ut-download
[ut] improve download from httptest
2022-10-28 09:01:22 +08:00
yingjinhui 1ba5360c94 [ut] improve download from httptest
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-27 22:42:09 +08:00
karmada-bot 5d42e82b7b
Merge pull request #2596 from lonelyCZ/pr-agent-cert-rotation
Implement auto certificate rotation function for karmada-agent
2022-10-27 14:20:20 +08:00
lonelyCZ 241f722a59 Introduce --enable-cert-rotation option to karmadactl register command
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-10-27 12:56:45 +08:00
lonelyCZ 0826fca253 Implement the certificate rotation function for karmada-agent
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-10-27 12:56:32 +08:00
karmada-bot c5e290c01d
Merge pull request #2669 from ikaven1024/ut-resources
[ut] add ut for pkg/util/clusterrole, rbac, sercret,  secret, serviceaccount
2022-10-27 11:38:21 +08:00
yingjinhui ee73db8b6c [ut] add ut for secret.go, serviceaccount.go, rbac.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-27 10:46:23 +08:00
xin.li 8eb1cae4c5 Defaults to 'Always' if image tag is 'latest' for chart
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-10-27 00:30:28 +08:00
karmada-bot 4df5e7baf7
Merge pull request #2677 from Fish-pro/karmadactl-long
Add a description for the karmadactl subcommand
2022-10-26 17:47:20 +08:00
karmada-bot f042439149
Merge pull request #2652 from cmicat/test/worker
Unit Test worker.go
2022-10-26 16:39:21 +08:00
karmada-bot a926ca4f49
Merge pull request #2650 from ikaven1024/search-featuregate
add option to disable search and proxy
2022-10-26 15:08:19 +08:00
karmada-bot 0c056c8aa6
Merge pull request #2675 from stingshen/yishen/nil_impersonator_secret_ref
`karmada-controller-manager`: Fixed the panic when cluster ImpersonatorSecretRef is nil.
2022-10-26 14:14:19 +08:00
stingshen e5d156dd61 check if cluster ImpersonatorSecretRef is nil before using it
Signed-off-by: stingshen <stingshen@126.com>
2022-10-26 12:36:28 +08:00
raymondmiaochaoyue 446ea00707 test worker.go
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-10-26 12:34:09 +08:00
karmada-bot a4489f2eeb
Merge pull request #2683 from RainbowMango/pr_pin_mockgen
install mockgen from vendor
2022-10-26 09:24:20 +08:00
chen zechun f01e9bfa54 Add a description for the karmadactl subcommand
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-10-25 23:46:20 +08:00
RainbowMango c0138e7a3d install mockgen from vendor
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-25 18:10:38 +08:00
karmada-bot 4521a0ddd2
Merge pull request #2654 from jwcesign/add-ut-v1
UT: import gomock to make write ut easier
2022-10-25 17:38:19 +08:00
jwcesign f954b44c22 UT: import gomock to make write ut easier
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-10-25 10:34:35 +08:00
karmada-bot be0462cf56
Merge pull request #2680 from my-git9/compatibility
add v1.3 compatibility for doc
2022-10-25 10:25:18 +08:00
xin.li 293a379c80 add v1.3 compatibility for doc
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-10-24 22:54:42 +08:00
karmada-bot af4b1c6130
Merge pull request #2087 from Poor12/improve-metrics
Add metrics_recorder for scheduler framework
2022-10-24 12:00:17 +08:00
karmada-bot 5a1addf693
Merge pull request #2610 from helen-frank/feature/taintFactory
karmadactl taint uses factory to access cluster
2022-10-24 10:48:18 +08:00