Commit Graph

725 Commits

Author SHA1 Message Date
wei-chenglai d4614ed69c Fix lint issue QF1001
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-04-13 22:15:30 -04:00
karmada-bot a05c7dc006
Merge pull request #6291 from seanlaii/fix-QF1004
Fix lint issue QF1004
2025-04-12 16:32:59 +08:00
wei-chenglai 7fb59a8b62 Fix lint issue QF1004
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-04-12 00:29:11 -04:00
wei-chenglai 02598f609b Fix lint issue ST1019
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-04-12 00:14:23 -04:00
zhzhuang-zju 49a37a78de fix the issue where discovery-timeout fails to work properly
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-04-08 11:11:21 +08:00
Mohamed Awnallah 85061f5e26 pkg/karmadactl: unit test deinit
In this commit, we unit test deinit in karmadactl on deleting
all components related to karmada after it was initialized using init.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2025-04-02 09:39:09 +00:00
karmada-bot 9b7151020d
Merge pull request #6253 from zhzhuang-zju/uniquecluster
fix: A new pull-mode cluster may overwrite the existing member clusters
2025-04-02 16:54:51 +08:00
zhzhuang-zju d9318779fd update alpine version used by karmadactl init to 3.21.3
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-04-01 10:07:11 +08:00
zhzhuang-zju 6f6762579b fix: A new pull-mode cluster may overwrite the existing member clusters
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-03-28 15:45:29 +08:00
warjiang 8e4603af66 fix: typo error in karmadactl register
Signed-off-by: dingwenjiang <dingwenjiang@bytedance.com>
2025-03-21 10:51:25 +08:00
karmada-bot 63ad83dfdd
Merge pull request #6173 from RainbowMango/pr_nominate_code_owners
Nominate code owners
2025-03-12 09:31:33 +08:00
Husni Alhamdani abe724ad57 chore: remove deprecated --ca-cert-path from karmadactl
Signed-off-by: Husni Alhamdani <dhanielluis@gmail.com>
2025-03-08 23:06:32 +07:00
RainbowMango 0c8b8f5c70 Nominate code owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-02-28 16:37:46 +08:00
zhzhuang-zju c1661cd33a Add Support for Component Priority Class Configuration in karmadactl addon
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-19 10:46:34 +08:00
acejilam b354b9d2b2 fix: when contenxt fails to run when it contains quotes
Signed-off-by: acejilam <acejilam@gmail.com>
2025-02-17 14:43:50 +08:00
karmada-bot 80d3d9e007
Merge pull request #6081 from zhzhuang-zju/unjoin
Restrict the cluster sync mode for the unjoin and unregister command
2025-02-14 11:53:10 +08:00
zhzhuang-zju 8949f3351d Add Support for Component Priority Class Configuration in karmadactl init
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-11 20:20:07 +08:00
zhzhuang-zju fffd206673 karmada-webhook: fix the no such host error
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-07 11:04:57 +08:00
zhzhuang-zju f751f9fe0d Restrict the cluster sync mode for the unjoin and unregister command
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-06 10:28:08 +08:00
chaosi-zju 72da42d27b standardize the naming of karmada config in karmadactl method
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-01-24 18:28:04 +08:00
YASH PANDEY 6cba9fe74b Version updates
Signed-off-by: YASH PANDEY <pandeyyash7052@gmail.com>
2025-01-09 14:57:09 +05:30
chaosi-zju c7009b2d64 expose metrics of karmada-metrics-adapter
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-01-02 16:47:52 +08:00
karmada-bot 6e3316fb5c
Merge pull request #5862 from zhzhuang-zju/rmfile
remove the unnecessary file localization steps when karmadactl register
2024-12-20 17:45:22 +08:00
zhzhuang-zju 623a4f916c remove the unnecessary file localization steps when karmadactl register
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-12-20 15:59:49 +08:00
Mohamed Awnallah 6ae8cfd3e9 pkg/karmadactl/util: unit test apiclient
In this commit, we unit test apiclient on creating restconfig.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-11 08:57:27 +02:00
karmada-bot f0e060d73e
Merge pull request #5876 from tiansuo114/ps_completion
add shell completion code for fish
2024-12-09 11:22:13 +08:00
karmada-bot a8a01a30c2
Merge pull request #5908 from mohamedawnallah/unitUsageOfAddonConstants
cmd+hack+operator+pkg: unify addons constants
2024-12-09 10:46:14 +08:00
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 fc28676516 pkg/karmadactl/cmdinit: unit test clusterinfo
In this commit, we unit test clusterinfo on creating
bootstrap configmap and creating cluster info RBAC rules.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-05 09:19:33 +02:00
Mohamed Awnallah 4e5237449b pkg/karmadactl: unit test unjoin
In this commit, we unit test unjoining cluster by
validating the unjoin cluster operation on arguments passed and
by verifying the deletion of all resources on the unjoining cluster
in case of cluster kubeconfig passed.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-04 20:30:03 +02:00
karmada-bot 616a95e0d7
Merge pull request #5754 from mohamedawnallah/unitTestInstallAddon
pkg/karmadactl/addons: unit test install addons
2024-12-04 17:17:09 +08:00
karmada-bot 1202cc7b80
Merge pull request #5829 from mohamedawnallah/unitTestCordonKaramdactl
pkg/karmadactl: unit test cordon
2024-12-04 16:43:09 +08:00
tiansuo114 ba2a0732fe
add shell completion code for fish shell
Signed-off-by: tiansuo114 <zhaoyi_114@outlook.com>

11

Signed-off-by: tiansuo114 <zhaoyi_114@outlook.com>
2024-12-04 10:55:55 +08:00
karmada-bot eea14cb353
Merge pull request #5895 from mohamedawnallah/unitTestPromoteKarmadactl
pkg/karmadactl: unit test promote
2024-12-03 14:17:08 +08:00
Mohamed Awnallah 6af9994ca7 pkg/karmadactl: unit test promote
In this commit, we unti test promoting a namespace-scoped or
cluster-scoped resource in a legacy clsuter and validating the promote
options on karmadactl command.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-03 05:27:09 +02:00
karmada-bot 189acaf5a9
Merge pull request #5871 from mohamedawnallah/unitTestJoinKarmadactl
pkg/karmadactl: unit test join
2024-12-02 17:16:08 +08:00
Mohamed Awnallah d699f1594d pkg/karmadactl: unit test describe
In this commit, we unit test describe command on karmadactl
by mainly validating the describe options.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-02 04:56:19 +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 b7afcaf5a2 karmadactl init: add CRDs archive verification to enhance file system robustness
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-27 16:47:58 +08:00
karmada-bot 5c3594f703
Merge pull request #5872 from mohamedawnallah/unitTestLogsKarmadactl
pkg/karmadactl: unit test logs
2024-11-26 16:57:02 +08:00
karmada-bot 6ceb3a9a19
Merge pull request #5714 from zhzhuang-zju/inittoken
Redact sensitive information from the karmadactl init command output
2024-11-26 12:11:02 +08:00
karmada-bot ccdf485204
Merge pull request #5873 from mohamedawnallah/unitTestExecKarmadactl
pkg/karmadactl: unit test exec
2024-11-26 11:23:01 +08:00
zhzhuang-zju 429f2d313e Redact sensitive information from the karmadactl init command output
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-26 11:15:04 +08:00
zhzhuang-zju 3c91c7df8f replace csrapproving by agentcsrapproving
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-25 17:01:03 +08:00
Mohamed Awnallah 543a23dbd0 pkg/karmadactl: unit test logs
In this commit, we unit test logs on completion for pods/containers,
selectors, and member factory builder.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-23 16:49:58 +02:00
Mohamed Awnallah dc0279ab48 pkg/karmadactl: unit test exec
In this commit, we unit test exec on validating the execute options
on control plane and member clusters.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-23 00:51:07 +02:00
karmada-bot 2f1fe6e3f3
Merge pull request #5854 from chaosi-zju/etcd-version
etcd: update default version to 3.5.16-0
2024-11-22 14:11:59 +08:00
Mohamed Awnallah bdb9fb8f46 pkg/karmadactl: unit test cordon
In this commit, we unit test cordon on karmadactl client
making sure the cordon/uncordon working as expected on a given cluster.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-21 21:52:52 +02:00
karmada-bot 37ae460f82
Merge pull request #5851 from chaosi-zju/version
Update karmada-apiserver and kube-controller-manager to v1.31.3 by default
2024-11-21 18:09:58 +08:00
chaosi-zju a11784e1f2 etcd: update version to 3.5.16-0
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-21 16:59:51 +08:00