Commit Graph

5848 Commits

Author SHA1 Message Date
karmada-bot 5692e289a8
Merge pull request #5319 from zhzhuang-zju/poliyMarks
skip cleanup when the poliy claim metadata changed
2024-10-10 11:46:22 +08:00
zhzhuang-zju 08026dc483 skip cleanup when the poliy claim metadata changed
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-10 10:39:59 +08:00
karmada-bot 11d5c971fe
Merge pull request #5563 from zhzhuang-zju/preemption
Clean up the residual annotations when resources are preempted by pp from cpp
2024-10-09 12:13:20 +08:00
karmada-bot c16e52a3ec
Merge pull request #5630 from mohamedawnallah/addTestInitOperatorPKGHelpers
operator/pkg: add test helpers
2024-10-09 11:58:20 +08:00
karmada-bot 376d20376c
Merge pull request #5542 from mohamedawnallah/unitTestInterpreter
pkg/webhook: unit test Interpreter
2024-10-09 11:52:20 +08:00
karmada-bot 33cb56d9de
Merge pull request #5642 from anujagrawal699/addedTests-pkg/scheduler/framework/plugins
Added tests for scheduler plugins
2024-10-09 11:32:20 +08:00
karmada-bot c5a5c84323
Merge pull request #5653 from anujagrawal699/addedTests-pkg/descheduler/descheduler.go
Added tests for pkg/descheduler/descheduler.go
2024-10-09 10:49:21 +08:00
zhzhuang-zju 69a07ed3a0 Clean up the residual annotations when resources are preempted by pp from cpp
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-09 10:37:09 +08:00
Mohamed Awnallah c571cfb39a pkg/webhook: test Interpreter
In this commit, we introduce unit tests for the `Interpreter` webhook
across `Decoder`, `HTTP`, `Injection`, `Response`, and `Webhook` components.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-09 05:26:27 +03:00
Mohamed Awnallah fdf7b53586 operator/pkg: add test helpers
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-09 04:57:48 +03:00
karmada-bot c6f3de1ce9
Merge pull request #5641 from anujagrawal699/addedTests-pkg/scheduler/event_handler.go
Added tests for pkg/scheduler/event_handler.go
2024-10-09 09:48:20 +08:00
karmada-bot 2a78e2b2f6
Merge pull request #5591 from sophiefeifeifeiya/feat-fieldoverrider
feat: add fieldoverrider
2024-10-09 09:43:21 +08:00
Anuj Agrawal c493e04c6f Added tests for pkg/descheduler/descheduler.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-08 21:37:48 +05:30
sophie 6bf6f305b8 feat: add fieldoverrider
Signed-off-by: sophie <yl5357@columbia.edu>
2024-10-08 10:36:32 -04:00
karmada-bot f656d9a2a0
Merge pull request #5530 from a7i/skip-interpret-health
skip interpret health of resources without a hook
2024-10-08 16:41:20 +08:00
karmada-bot 52a5b4cdf1
Merge pull request #5277 from tiansuo114/doc
docs: add proposal of karmadactl init support config file
2024-10-08 12:12:20 +08:00
karmada-bot ba960f18c4
Merge pull request #5648 from karmada-io/dependabot/github_actions/sigstore/cosign-installer-3.7.0
build(deps): bump sigstore/cosign-installer from 3.6.0 to 3.7.0
2024-10-08 10:46:20 +08:00
dependabot[bot] 70dd250ff7
build(deps): bump sigstore/cosign-installer from 3.6.0 to 3.7.0
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 05:13:03 +00:00
Amir Alavi dbed85441a
skip interpret health of resources without a hook
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-05 11:09:52 -04:00
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
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