Commit Graph

5986 Commits

Author SHA1 Message Date
karmada-bot 62ae95eaf9
Merge pull request #5568 from jklaw90/fix-sts-pvc
Avoid treating PVC managed by VolumeClaimTemplate as dependencies
2024-10-05 21:05:17 +08:00
Anuj Agrawal e818659bb2 Added tests for scheduler/framework/plugins
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for scheduler/framework/plugins

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-05 00:34:00 +05:30
Anuj Agrawal 1b177e5fe6 Added tests for pkg/scheduler/event_handler.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-04 17:07:26 +05:30
karmada-bot 6b18b6e120
Merge pull request #5579 from chaosi-zju/chart-index
Add helm index for v1.10.0 and v1.11.0
2024-10-04 10:14:17 +08:00
Julian Lawrence 902bb1bbc9 fix sts pvc logic
Co-authored-by: yelshall <youssuf.elshall@zendesk.com>
Signed-off-by: Julian Lawrence <julianlawrence@gmail.com>
2024-10-02 19:45:23 -07:00
tiansuo114 07803e4817
docs: add proposal of karmadactl init support config file
Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

add

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

add file change

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix doc

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix comment

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-10-01 09:56:17 +08:00
karmada-bot 8cc712f698
Merge pull request #5627 from chaosi-zju/local-up
Allow `hack/local-up-karmada.sh` to use latest pre-built images
2024-09-30 14:43:13 +08:00
karmada-bot 8308cb1976
Merge pull request #4184 from zhzhuang-zju/trivy
ci: add schedule image-scanning
2024-09-30 09:50:14 +08:00
karmada-bot 59e302558d
Merge pull request #5616 from mohamedawnallah/dependOnClientSetInterface
operator+pkg:  depend on `clientset.Interface` instead of `*clientset.Clientset`
2024-09-29 15:11:12 +08:00
chaosi-zju ab134cad7f supports specifying whether need making local images in local up installation
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-29 11:20:39 +08:00
Mohamed Awnallah a640f0969f operator+pkg: depend on clientset.Interface for DI
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-27 15:35:40 +03:00
Mohamed Awnallah 6c490dcefa operator: depend on aggregator.Interface for DI
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-27 15:16:25 +03:00
karmada-bot 58612d3624
Merge pull request #5606 from anujagrawal699/addedTests-controllers/workloadrebalancer
Improved test coverage for workloadrebalancer controller
2024-09-27 15:12:10 +08:00
karmada-bot e4c6f54c7a
Merge pull request #5612 from wangxf1987/fix/improve-log
Show more debug logs when failed to build resource model due to `getIndex` fails
2024-09-27 14:56:11 +08:00
Anuj Agrawal 9bb8b5b0df Improved test coverage for workloadrebalancer controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Changed the resource to clusterrole

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

Added tests for workloadrebalancer controller

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-09-27 11:43:03 +05:30
wangxiaofei67 8762d280b1 fix: when the "getIndex" fails, display more data details in logs.
Signed-off-by: wangxiaofei67 <wangxiaofei67@jd.com>

fix: add signoff

Signed-off-by: wangxiaofei67 <wangxiaofei67@jd.com>

fix: optimize prompt messages in the logs
2024-09-27 13:59:59 +08:00
karmada-bot 087d9ea52a
Merge pull request #5601 from wulemao/karmadactl-promote
guarantee the promotion can be rolled back safely
2024-09-27 12:20:10 +08:00
karmada-bot 8906ec0097
Merge pull request #5611 from RainbowMango/pr_update_work_api_comments
Correct SuspendDispatching comments and add notes.
2024-09-26 21:20:10 +08:00
RainbowMango 6b3a781491 Correct SuspendDispatching comments and add notes.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-09-26 16:50:12 +08:00
karmada-bot 4f7dc2c409
Merge pull request #5605 from mohamedawnallah/unitTestWebhookConfigurationKarmadaOperator
operator/pkg/karmadaresource: unit test `ValidatingWebhookConfiguration` and `MutatingWebhookConfiguration`
2024-09-26 11:22:10 +08:00
karmada-bot 8039769a71
Merge pull request #5595 from anujagrawal699/addedTests-controllers/remediation
Added tests for remediation controller
2024-09-26 10:36:09 +08:00
wulemao 7f082af21a guarantee the promotion can be rolled back safely
Signed-off-by: wulemao <1194736083@qq.com>
2024-09-26 10:24:19 +08:00
karmada-bot 53c4697d6f
Merge pull request #5607 from mohamedawnallah/unitTestSchemeKarmadaOperator
operator/pkg/scheme: unit test scheme
2024-09-26 09:58:09 +08:00
Mohamed Awnallah 43a933ca52 operator/pkg: test scheme
In this commit, we unit test the init scheme functionality of the operator
by checking that both k8s core scheme and operator v1alpha1 scheme are added.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-25 22:54:16 +03:00
Mohamed Awnallah b020df1d2c operator/pkg: test webhook configurations
In this commit, we introduce unit tests for mutating and validating webhook
configurations to make sure they are working as expected.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-25 17:46:56 +03:00
karmada-bot eaa3452be8
Merge pull request #5101 from CharlesQQ/prevent-removal-managed-resources-docs
docs(proposal): Migration Rollback Protection
2024-09-25 11:55:09 +08:00
karmada-bot 879ead91a8
Merge pull request #5600 from anujagrawal699/addedTests-controllers/unifiedauth
Added tests for unifiedauth controller
2024-09-25 11:50:09 +08:00
chang.qiangqiang fb99665e26 docs(proposal): add docs for using cascading deletion
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2024-09-25 11:02:23 +08:00
karmada-bot 5e36f170e5
Merge pull request #5593 from mohamedawnallah/updateOperatorTagInstallationDocs
operator/README.md: redirect users to the latest `karmada-operator` released tag
2024-09-25 10:55:09 +08:00
karmada-bot 8cee4e4ffa
Merge pull request #5581 from RainbowMango/pr_proposing_structured_filed_overrider
Proposing structured field overrider API
2024-09-25 09:54:08 +08:00
Anuj Agrawal 32ae2178c2 Added tests for unifiedauth controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-09-24 22:12:23 +05:30
karmada-bot 004de43733
Merge pull request #5449 from sophiefeifeifeiya/self-master
Overriding values inside JSON and YAML
2024-09-24 20:59:09 +08:00
Sophie 0682184c9d proposal for overriding values inside JSON and YAML
Signed-off-by: sophie <yl5357@columbia.edu>
2024-09-24 07:24:25 -04:00
karmada-bot 5f7fc4fe8e
Merge pull request #5572 from chaosi-zju/operator-rbac
`karmada-operator`: Grand proxy permission to system:admin
2024-09-24 16:55:08 +08:00
chaosi-zju a8d71d0ce5 Add helm index for v1.10.0 and v1.11.0
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-24 16:27:22 +08:00
chaosi-zju 25357ee5b4 authorize system:admin to proxy member clusters during installation
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-24 11:47:18 +08:00
Anuj Agrawal 270819a779 Added tests for remediation controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-09-23 20:45:01 +05:30
RainbowMango 8ad4b5a989 Proposing structured field overrider API
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-09-23 20:37:44 +08:00
Mohamed Awnallah 5d806be8b8 operator: redirect users to latest operator tag
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-23 15:23:32 +03:00
karmada-bot 721107da86
Merge pull request #5507 from mohamedawnallah/unitTestFederatedHPAWebhook
pkg/webhook: unit test Federated HPA
2024-09-23 17:40:07 +08:00
karmada-bot 12cd43ef42
Merge pull request #5589 from anujagrawal699/addedTests-controllers/multiclusterservice
Added tests for multiclusterservice controller
2024-09-23 16:01:07 +08:00
karmada-bot a70551ad92
Merge pull request #5575 from RainbowMango/pr_propose_preserve_api
Proposing API to support migration rollback
2024-09-23 15:42:07 +08:00
karmada-bot 9f23d2961d
Merge pull request #5552 from chaosi-zju/bind-descheduler
Remove deprecated --bind-address and --secure-port from karmada-descheduler
2024-09-23 14:47:07 +08:00
Mohamed Awnallah 22221c4cca operator/pkg/controlplane: test controlplane
In this commit, we add unit tests for Kube Controller Manager,
Karmada Controller Manager, Karmada Scheduler, and Karmada Descheduler
components.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-23 09:26:16 +03:00
karmada-bot 9864a29684
Merge pull request #5580 from XiShanYongYe-Chang/fix-ut-failed-in-federatedresourcequota
fix ut failed in federatedresourcequota
2024-09-23 12:13:07 +08:00
karmada-bot d7f7b96eb1
Merge pull request #5551 from chaosi-zju/bind-scheduler
Remove deprecated --bind-address and --secure-port from karmada-scheduler
2024-09-23 11:51:07 +08:00
Anuj Agrawal b7b508b599 Added tests for multiclusterservice controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-09-22 20:47:48 +05:30
Mohamed Awnallah 92963065ff operator/pkg/controlplane: test karmada webhook
In this commit, we include unit tests for karmada webhook in the operator
controlplane package making sure that installing karmada webhook and its associated
service are working as expected.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-22 12:50:21 +03:00
karmada-bot 2d95f7cbc7
Merge pull request #5498 from mohamedawnallah/unitTestClusterResourceBindingWebhook
pkg/webhook: unit test cluster resource binding
2024-09-21 18:53:06 +08:00
karmada-bot 673a603fb5
Merge pull request #5497 from mohamedawnallah/unitTestResourceBindingWebhook
pkg/webhook: unit test resource binding
2024-09-21 17:51:06 +08:00