Commit Graph

6222 Commits

Author SHA1 Message Date
zhzhuang-zju 36cbd011d0 Stop maintaining version 1.9 and maintain version 1.12
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-12-09 14:22:14 +08: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 8f506d410c
Merge pull request #5910 from kubeservice-stack/bump-k8s-v1.31.3
Bump update kubernetes version to v1.31.3
2024-12-09 11:00:14 +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
karmada-bot 2d6f998622
Merge pull request #5907 from RainbowMango/pr_bump_metrics_server
Bump sigs.k8s.io/metrics-server
2024-12-09 09:48:13 +08:00
karmada-bot acce8fd5d8
Merge pull request #5772 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/cache/node_tree_test.go
Added unit tests for the scheduler's node tree functionality
2024-12-07 19:43:12 +08:00
karmada-bot 07157e61a8
Merge pull request #5909 from chaosi-zju/chart-install
Test helm chart with the latest code
2024-12-06 18:28:11 +08:00
Anuj Agrawal 55707d8a4f Added unit tests for the scheduler's node tree functionality
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the scheduler's node tree functionality

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the scheduler's node tree functionality

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-06 15:52:09 +05:30
karmada-bot f72a312d14
Merge pull request #5898 from anujagrawal699/addedTests-pkg/estimator/server/replica/replica.go
Added unit tests for the replica package in the estimator server
2024-12-06 18:11:10 +08:00
chaosi-zju 16e7a0e7b3 install karmada with latest tag images in ci chart-testing
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-06 17:08:43 +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
karmada-bot a655c45f6f
Merge pull request #5864 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/declarative/configmanager/accessor.go
Added unit tests for custom resource interpreter's configuration manager
2024-12-05 20:05:10 +08:00
karmada-bot 1cbfca0454
Merge pull request #5760 from mohamedawnallah/unitTestClusterInfoBootstrapToken
pkg/karmadactl/cmdinit/bootstraptoken: unit test clusterinfo
2024-12-05 20:02:10 +08:00
dongjiang c5d4aa6a66
update kubernetes v1.31.3
Signed-off-by: dongjiang <dongjiang1989@126.com>
2024-12-05 15:55:20 +08: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
karmada-bot 9cf464607f
Merge pull request #5870 from mohamedawnallah/unitTestUnjoinCluster
pkg/karmadactl: unit test unjoin
2024-12-05 11:58:09 +08: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
RainbowMango ce69be8874 Bump sigs.k8s.io/metrics-server to a pseudo version which use Kuberentes v1.31 but don't rely on Go 1.23
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-12-04 14:35: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 b3dad9bdc5
Merge pull request #5819 from anujagrawal699/addedTest-pkg/util/lifted/lua
Added unit tests for safe lua lifted libraries
2024-12-04 09:58:08 +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 7a9e4a18fa
Merge pull request #5901 from RainbowMango/pr_bump_kind
Bump kind dependencis from v0.24.0 to v0.25.0
2024-12-03 09:43:08 +08:00
karmada-bot 3323935575
Merge pull request #5903 from anujagrawal699/fix/default-history-limit-constant
refactor: introduce DefaultHistoryLimit constant for CronFederatedHPA
2024-12-03 09:16:08 +08:00
Anuj Agrawal 47528b417e refactor: introduce DefaultHistoryLimit constant for CronFederatedHPA
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-02 18:59:44 +05:30
karmada-bot 064ccf1140
Merge pull request #5768 from anujagrawal699/addedTests-pkg/helper/status.go-cronfederatedhpa.go
Added unit tests for status and cronfederatedhpa helper utilities
2024-12-02 17:38:07 +08:00
karmada-bot 189acaf5a9
Merge pull request #5871 from mohamedawnallah/unitTestJoinKarmadactl
pkg/karmadactl: unit test join
2024-12-02 17:16:08 +08:00
Anuj Agrawal c25263c19b Added unit tests for the replica package in the estimator server
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the replica package in the estimator server

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-02 14:42:50 +05:30
karmada-bot 93a68eb11a
Merge pull request #5847 from mohamedawnallah/unitTestDescribeKarmadactl
pkg/karmadactl: unit test describe
2024-12-02 14:13:07 +08:00
RainbowMango addc75ee6c Bump kind dependencis from v0.24.0 to v0.25.0
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-12-02 12:03:32 +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
karmada-bot 1bc955a23c
Merge pull request #5896 from zhzhuang-zju/releasenote-new
publish release note for v1.12.0
2024-11-30 18:12:06 +08:00
zhzhuang-zju 49e0969785 publish release note for v1.12.0
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-30 17:17:05 +08:00
karmada-bot cdd46f5783
Merge pull request #5850 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/webhook/request/resourceinterpretercontext.go
Added unit tests for interpretation context handling
2024-11-30 15:47:06 +08:00
karmada-bot 6e0d8e3220
Merge pull request #5899 from RainbowMango/pr_disable_cluster_failover_by_default
Disable cluster failover by default which should be explicitly enabled by administrators
2024-11-30 11:45:05 +08:00
RainbowMango a8e965321e Disable cluster failover by default which should be explicitly enabled by administrators after a fully evaluation.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-30 09:59:35 +08:00
karmada-bot 0f2e0cc0d8
Merge pull request #5897 from RainbowMango/pr_stateful_injection_gate
Add stateful application failover status injection feature gate
2024-11-30 09:19:06 +08:00
RainbowMango 58c3765684 Add stateful application failover status injection feature gate
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-29 16:27:36 +08:00
karmada-bot 54be414d9f
Merge pull request #5893 from XiShanYongYe-Chang/inject-preservedLabelState
Inject preservedLabelState to the failover to clusters
2024-11-29 12:25:05 +08:00
changzhen 1cdc646cef inject preservedLabelState to the failover to clusters
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-29 11:30:51 +08:00
karmada-bot 5beb710b85
Merge pull request #5890 from XiShanYongYe-Chang/add-ut-for-parseJSONValue
Add ut for parseJSONValue function to cover the JSONPath main parse ability
2024-11-29 11:30:05 +08:00
changzhen 3c0c9b8a41 add ut for parseJSONValue function to cover the JSONPath main parse ability
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-29 09:37:26 +08: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
karmada-bot 6f4d69cf8b
Merge pull request #5875 from mohamedawnallah/addressSearchControllerFlakeTest
pkg/search/controllers_test: address flaky test
2024-11-28 19:23:03 +08:00
karmada-bot c8b033d47d
Merge pull request #5889 from mszacillo/cleanup-work-immediately
Cleanup works from cluster if purgemode is immediately
2024-11-28 19:17:04 +08:00
mszacillo 082fe7cff9 Cleanup works from cluster if purgemode is immediately
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-11-27 23:37:01 -05:00
karmada-bot 1b8d09c2f8
Merge pull request #5887 from XiShanYongYe-Chang/build-PreservedLabelState
Build PreservedLabelState when triggering evition in RB/CRB application controller
2024-11-28 12:21:04 +08:00
karmada-bot 3783eaf0ca
Merge pull request #5888 from chaosi-zju/pr4447
fix code typo errors
2024-11-28 11:58:04 +08:00