Commit Graph

14 Commits

Author SHA1 Message Date
Mohamed Awnallah 6144ea5a9b cmd+hack+operator+pkg: unify addons constants
In this commit we unify the usage of addon names i.e
`karmada-descheduler`, `karmada-scheduler-estimator`, `karmada-search`,
and `karmada-metrics-adapter` across the codebase.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2024-12-05 18:45:44 +02:00
Mohamed Awnallah 5618eb1dde pkg/karmadactl: unit test join
In this commit, we unit test the process of joining a cluster
to the Karmada control plane. The tests validate the arguments
passed to the join cluster operation and ensure the creation of
the new cluster runtime object. Additionally, we verify that the
necessary access secrets for the new cluster in push mode are correctly
generated in the Karmada control plane.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-28 20:25:41 +02:00
zhzhuang-zju a684edd354 Implementing autocompletion for karmadactl
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-20 09:42:40 +08:00
Michael Grosser b30210f303
rename host-as-* to karmada-as-*
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-06-25 21:49:30 -07:00
Michael Grosser 0bc96a2f67
add --as-* options to join command (#5016)
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-06-20 09:31:46 +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
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
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 b27da00291 remove insecureSkipTLSVerify in operator
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-20 19:47:20 +08:00
whitewindmills d0ef3343ae deprecate cluster-zone flag and introduce cluster-zones flag
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-25 11:02:29 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
helen c47b53648b Karmadactl join: default use current context
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-16 16:49:17 +08:00
lonelyCZ 02fd98a4c1 Improve karmadactl command description
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-18 10:00:32 +08:00
lonelyCZ faa6b64cd6 Package subcommands of karmadactl to make it clearer
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-10 14:31:57 +08:00