Commit Graph

44 Commits

Author SHA1 Message Date
yingjinhui 5763248181 fix addAnnotationWithClusterName crash
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2023-08-21 23:40:42 +08:00
huangyanfeng c30e6e6d09 Proxy connect get cluster impersonator secret use secretLister
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-08-18 09:50:45 +08:00
RainbowMango 4ee4b22f05 Adopt Kubernetes breaking changes: PR 113542 which require singular names for core types
Adopt breaking change of contriller-runtime PR 2122
Adopt breaking change of contriller-runtime PR 2296
Adopt breaking change of controller-runtime PR 2139
Adopt breaking change of controller-runtime PR 2135
Adopt breaking change of Kubernetes PR 116218
Adopt breaking change of controller-runtime PR 2149
Adopt breaking change of controller-runtime PR 2150
Adopt breaking change of controller-runtime PR 2134
Adopt breaking change of controller-runtime PR 2293
Adopt breaking change of controller-runtime PR 2144
Adopt k8s feature: watch list. PR 115402
Adopt breaking change of Kubernetes PR 117102
Adopt Kubernetes change: disable staticcheck
Fix unit tests that failure due to fake-client behavior changes.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-29 16:47:38 +08:00
xigang 154673a571 karmada-search: Add ResetFieldsStrategy for resource rest store
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-06-06 17:03:07 +08:00
karmada-bot 8594406e5f
Merge pull request #3398 from whitewindmills/code-cleanup
Fix inspection errors
2023-05-19 20:28:53 +08:00
whitewindmills 89295f9606 Fix inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +08:00
liufang73 89d60cb450 fix:search http response add content-type header
Signed-off-by: old.prince <di7zhang@gmail.com>
2023-05-10 11:03:24 +08:00
karmada-bot 29e9e33157
Merge pull request #3324 from RainbowMango/pr_aa_owner
Set aggregatedapiserver owners
2023-03-24 15:03:27 +08:00
RainbowMango 0ee519e87f Set aggregatedapiserver owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-03-23 17:22:39 +08:00
karmada-bot 861bc7af9c
Merge pull request #3312 from tedli/kindlist
response actual resource list from search api
2023-03-23 14:47:32 +08:00
lizhen6 47b0551a56 response actual resource list type
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-03-22 16:55:13 +08:00
changzhen a4753cd77c add generation for cluster object
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-03-09 15:05:10 +08:00
karmada-bot 78c3f35cd5
Merge pull request #3132 from Fish-pro/chore/unittest
Modify unit tests that never fail
2023-02-10 12:36:52 +08:00
Fish-pro f888ec07fa Optimize invalid unit tests
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-10 10:59:40 +08:00
karmada-bot 57236e5ec3
Merge pull request #3134 from Fish-pro/chore/package
Clean up repeated package import
2023-02-09 17:10:52 +08:00
Fish-pro 108afef91b Clean up the problem of repeated package import
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-09 15:58:22 +08:00
Fish-pro 05c759a19a Use http constants instead of string
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-07 15:51:00 +08:00
changzhen e070ad779c add ut for cluster registry
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-01-28 09:11:44 +08:00
RainbowMango 37ba914420 quick fix for StandardStorage interface extension
quick fix for kubectl apply options validation

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 09:52:48 +08:00
yingjinhui 38b5eabb4a clean up proxy repeating code
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-31 21:35:52 +08:00
Poor12 bdf11c447b add cluster resource model check
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-23 15:37:03 +08:00
Poor12 d720a5c34f set default model for cluster
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-19 14:53:03 +08:00
yingjinhui dd1b6e2967 add proxy skeleton
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-08-17 18:55: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
luomonkeyking 3b33fd359a modify contains-merge-commits
Signed-off-by: luomonkeyking <luomonkeyking@gmail.com>
2022-07-21 15:12:27 +08:00
Garrybest 1d2028b10f add taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 10:42:38 +08:00
karmada-bot a4576872ca
Merge pull request #1960 from calvin0327/move-cluster-annotations
rename cache resource annotation
2022-06-10 14:19:01 +08:00
calvin0327 d4da468dc3 move this annotation key `cluster.karmada.io/name` to the Cluster API.
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-06-10 11:29:04 +08:00
charlesQQ 6fc65fb281 ut: add unit test for requestinfo
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-06-06 11:46:02 +08:00
changzhen b7fe29a5a3 support to search resources with labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-31 20:05:37 +08:00
changzhen f2e92ab467 fix add annotation when annotation is nil
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-31 14:23:58 +08:00
changzhen 1445785fc5 support karmada-search component search interface
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-26 19:21:18 +08:00
changzhen 3e217b0249 add karmada-search fabric
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-17 09:24:04 +08:00
pangshaoqiang c8edab3fd5 Fix pod exec through cluster/proxy
Signed-off-by: pangshaoqiang <pangsq9413@gmail.com>
2022-04-21 16:29:09 +08:00
changzhen 1efbeb6d79 fix timeout when request of -w or logs -f with cluster/proxy
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-20 21:01:57 +08:00
carlory f697c03c74 add validation for cluster api and remove cluster validating webhook
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-14 12:08:43 +08:00
changzhen b34e2724b5 ignore some group with Impersonate-Group
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-29 18:20:53 +08:00
carlory 17578c8466 remove the karmada client from aggregated-apiserver
Signed-off-by: carlory <baofa.fan@daocloud.io>
2021-12-29 13:16:44 +08:00
changzhen 05722acfc0 add impersonatorSecretRef for cluster object
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-29 11:08:13 +08:00
karmada-bot 472f8c39d5
Merge pull request #1181 from carlory/print-cluster-columns
expose more than name/creation timestamp columns for cluster api
2021-12-29 09:17:39 +08:00
carlory e69b58c981 define table converter for cluster api that exposes more than name/creation timestamp
Signed-off-by: carlory <baofa.fan@daocloud.io>
2021-12-29 07:41:23 +08:00
changzhen 9833a814a4 create or update cluster and create impersonation secret for pull cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 21:07:00 +08:00
changzhen c9a2a70cb8 add ClusterProxyOptions for Cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-24 15:19:53 +08:00
changzhen b49cc9ed0f add aggregated apiserver fabric
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-20 19:49:29 +08:00