Commit Graph

5959 Commits

Author SHA1 Message Date
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
karmada-bot b630d14544
Merge pull request #5496 from mohamedawnallah/unitTestClusterOverridePolicy
pkg/webhook: unit test cluster override policy
2024-09-21 17:29:06 +08:00
karmada-bot 6804af4d04
Merge pull request #5495 from mohamedawnallah/unitTestOverridePolicy
pkg/webhook: unit test override policy
2024-09-21 17:09:06 +08:00
changzhen 99c5bf4f22 fix ut failed in federatedresourcequota
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-09-21 16:50:58 +08:00
karmada-bot 6c484ca2ec
Merge pull request #5518 from mohamedawnallah/unitTestMultiClusterIngress
pkg/webhook: unit test Multi-Cluster Ingress
2024-09-21 14:35:06 +08:00
chaosi-zju 6edb9cee1e Remove deprecated --bind-address and --secure-port from karmada-descheduler
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-21 10:59:24 +08:00
karmada-bot 21c18eb132
Merge pull request #5544 from mohamedawnallah/refactorFederatedResourceQuota
pkg/webhook: refactor Federated Resource Quota test
2024-09-21 10:40:05 +08:00
RainbowMango aa61791ccb Proposing preserve API to support migration sceanrios
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-09-20 18:26:53 +08:00
chaosi-zju 03023103d6 Remove deprecated --bind-address and --secure-port from karmada-scheduler
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-20 18:10:37 +08:00
karmada-bot b8edec1ef6
Merge pull request #5533 from zhzhuang-zju/autocompletion
Implementing autocompletion for karmadactl
2024-09-20 10:35:05 +08:00
zhzhuang-zju a684edd354 Implementing autocompletion for karmadactl
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-20 09:42:40 +08:00
karmada-bot 836b8789d7
Merge pull request #5562 from mohamedawnallah/unitTestResourceInterpreterCustomization
pkg/webhook: unit test ResourceInterpreterCustomization
2024-09-20 09:32:05 +08:00
karmada-bot e97f2bb113
Merge pull request #5555 from seanlaii/remove-parameter-scheduler-estimator
Remove deprecated `--bind-address` and `--bind-address` from `karmada-scheduler-estimator`
2024-09-19 18:58:04 +08:00
karmada-bot ef7d528a98
Merge pull request #5549 from whitewindmills/remove-params-kcm
Removed deprecated `--bind-address` and `--bind-address` from `karmada-controller-manager`
2024-09-19 09:33:04 +08:00
karmada-bot ec0521a754
Merge pull request #5216 from yanfeng1992/fix-apienables
skip the filter if the cluster is already in the list of scheduling result even if the API is missed
2024-09-18 20:28:04 +08:00
karmada-bot 96622c6be4
Merge pull request #5548 from whitewindmills/deprecate-param
Remove deprecated `--bind-address` and `--secure-port` from `karmada-agent`
2024-09-18 15:16:03 +08:00
huangyanfeng 4c416cec6f Skip cluster removal if already scheduled and API enablements are incomplete to prevent accidental removal.
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-09-18 14:23:00 +08:00
Mohamed Awnallah 466634ac3d pkg/webhook: test ResourceInterpreterCustomization
In this commit, we introduce unit tests for `ValidationAdmission`
webhook for the `ResourceInterpreterCustomization` resource. The
tests include:

- Tests how the webhook responds when decoding the request object fails.
- Tests how the webhook responds when it fails to retrieve list of objects from a namespace.
- Ensures that invalid `ResourceInterpreterCustomization` spec denies the admission.
- Confirms that valid `ResourceInterpreterCustomization` spec are allowed through without errors.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-16 16:17:13 +03:00
Mohamed Awnallah 89794f167b operator/pkg/certs: fix null ptr deref in altnames
In this commit, we fix th null pointer dereference issue
that happens in altnames mutators for both Karmada APIServer
and EtcdServer when accessing the `Components` field on
`AltNamesMutatorConfig` struct.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-16 11:39:55 +03:00
wei-chenglai a72b72ba93 Remove BindAddress & SecurePort of karmada-scheduler-estimator
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-09-16 00:03:38 -04:00
Mohamed Awnallah d2259d52a1 pkg/webhook: test Multi-Cluster Ingress
In this commit we introduce unit tests for the `Validation Admission`. These
tests ensure correct behavior for various validation scenarios and improve coverage:

- Tests the behavior when decoding the request object fails, verifying
  that admission is denied with an appropriate error message.
- Validates that the webhook denies admission when encountering invalid values in the
  `MultiClusterIngress` spec, ensuring error messaging.
- Confirms that valid `MultiClusterIngress` objects are admitted without errors.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-14 13:13:49 +03:00
karmada-bot 4c8bcd4af1
Merge pull request #5540 from zhzhuang-zju/releasenote1.11-1
publish release note for v1.11.1, v1.10.5, v1.9.7
2024-09-14 17:26:00 +08:00
zhzhuang-zju 7b48ea65c2 publish release note for v1.11.1, v1.10.5, v1,9.7
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-14 16:32:25 +08:00
karmada-bot ba360c9aa7
Merge pull request #5546 from jabellard/controller_manager_deployment
Fix mTLS Configuration for Karmada Scheduler & Descheduler Components
2024-09-14 10:55:59 +08:00
whitewindmills 73c441f7a6 Remove BindAddress & SecurePort of karmada-controller-manager
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-09-14 10:54:15 +08:00
whitewindmills f33bc3820f Remove BindAddress & SecurePort of karmada-agent
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-09-14 10:44:27 +08:00
karmada-bot e76ce6355b
Merge pull request #5400 from whitewindmills/apienablement-condition
add new cluster condition: CompleteAPIEnablements
2024-09-14 09:39:00 +08:00