Commit Graph

5802 Commits

Author SHA1 Message Date
karmada-bot 93a1a49930
Merge pull request #5502 from karmada-io/dependabot/docker/cluster/images/alpine-3.20.3
Bump alpine from 3.20.2 to 3.20.3 in /cluster/images
2024-09-09 14:46:56 +08:00
RainbowMango 28d37d0bb3 Stop updating images for release-1.8 and adding release-1.11
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-09-09 14:35:12 +08:00
dependabot[bot] cb674cf1a6
Bump alpine from 3.20.2 to 3.20.3 in /cluster/images
Bumps alpine from 3.20.2 to 3.20.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 05:52:53 +00:00
Mohamed Awnallah fa4a077865 pkg: test ResourceDeletionProtection valid webhook
In this commit, we add unit tests for the `ValidatingAdmission` validation webhook
specifically for the resource deletion protection feature. These tests ensure
that the webhook correctly handles various admission scenarios:

- Tests the behavior when decoding the request object fails, verifying that admission
is denied with an appropriate error message.
- Ensures that resources labeled with `DeletionProtectionAlways` are denied deletion,
validating that the error message is returned.
- Confirms that resources without the deletion protection label are allowed to be deleted
without errors.
- Validates that resources with other labels are not impacted and are allowed to be deleted.
- Confirms that non-delete operations (e.g., create) are allowed by default.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-09 03:56:52 +03:00
Mohamed Awnallah 5a2e714a3b pkg: test ClusterOverridePolicy validation webhook
In this commit, we add unit tests for the `ValidationAdmission`
webhook specifically for the `ClusterOverridePolicy` resource. These
tests ensure that the webhook correctly handles various admission
scenarios:

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

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-09 03:26:49 +03:00
xovoxy 503fb93068 add test for pkg/controllers/cluster
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-09-08 19:56:21 +08:00
karmada-bot 32c2ef7aa4
Merge pull request #5430 from spiritNO1/fix_aggregated
fix: aggregate apiserver http method to get
2024-09-06 09:22:52 +08:00
karmada-bot 136e268b4f
Merge pull request #5483 from ahorine/feature/operation-scope-shorthand
feat: Added 's' shorthand to operation-scope flags
2024-09-05 20:47:52 +08:00
ahorine 5d2cf3ef7e feat: Added 's' shorthand to operation-scope flags
The operation-scope flag gets used a lot when examining resources on
member clusters. The 's' shorthand was added to improve user QoL.

Signed-off-by: ahorine <allen.horine@gmail.com>
2024-09-04 16:52:46 -04:00
karmada-bot f2bed78afe
Merge pull request #5476 from zhzhuang-zju/commandGroup
add commandGroup annotation to ctl command
2024-09-04 17:59:51 +08:00
zhzhuang-zju d351e3dc72 add commandGroup annotation to ctl command
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-04 16:47:38 +08:00
karmada-bot 7a2b493fba
Merge pull request #5474 from zhzhuang-zju/redundancyCert
chore: remove redundancy certificate configuration
2024-09-04 09:21:51 +08:00
zhzhuang-zju e2392fb07c chore: remove redundancy certificate configuration
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-03 20:07:23 +08:00
karmada-bot 920ac8931e
Merge pull request #5469 from liangyuanpeng/fix_ghtoken_krewindex
ci: add github token for update-krew-index
2024-09-02 18:36:49 +08:00
Lan Liang 21067b83eb ci: add github token for update-krew-index
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-09-02 09:27:34 +00:00
karmada-bot 9351b76193
Merge pull request #5459 from anujagrawal699/addedTests-cmd/scheduler
Added tests for cmd/scheduler
2024-09-02 14:40:50 +08:00
Anuj Agrawal b64a76cfb7 Added tests for cmd/scheduler
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for cmd/scheduler

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-09-02 09:51:26 +05:30
karmada-bot e579560af5
Merge pull request #5468 from zhzhuang-zju/releasenote1.11
add new release note for v1.11
2024-08-31 19:54:47 +08:00
zhzhuang-zju fde82db7c8 add new release note for v1.11
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-31 19:01:02 +08:00
karmada-bot 350838dc22
Merge pull request #5029 from XiShanYongYe-Chang/remove-pp-name-length-limit
Remove pp/cpp name length limit
2024-08-31 11:28:48 +08:00
karmada-bot 96f51495f7
Merge pull request #5224 from liangyuanpeng/update_krew_stable
Only update krew index for latest stable version.
2024-08-31 10:12:48 +08:00
Lan Liang 31177dd1ee Only update krew index for latest stable version.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-30 14:29:32 +00:00
karmada-bot 2d92fede34
Merge pull request #5465 from chaosi-zju/opera
Expose metrics port for operator installation
2024-08-30 17:59:47 +08:00
karmada-bot e225e2c4ac
Merge pull request #5428 from dzcvxe/dev
Expose metrics port for local-up installation
2024-08-30 17:58:47 +08:00
karmada-bot cb5be63eea
Merge pull request #5462 from mohamedawnallah/reformatInterpretHelpCommand
pkg/karmadactl/interpret/interpret.go: Reformat `karmadactl interpret --help` output
2024-08-30 17:50:47 +08:00
karmada-bot 704a873433
Merge pull request #5463 from zhzhuang-zju/karmadactlpatch
add new command patch
2024-08-30 16:50:48 +08:00
karmada-bot 307fee92ec
Merge pull request #5447 from NishantBansal2003/unit-test-dependenciesdistributor
Improved test coverage for dependencies_distributor in pkg/dependenciesdistributor
2024-08-30 16:49:47 +08:00
unknown 41ded8daec Expose metrics port for local-up installation
Signed-off-by: unknown <1102597040@qq.com>
2024-08-30 12:19:18 +08:00
chaosi-zju aef704732e Expose metrics port for operator installation #5428
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-30 11:51:55 +08:00
zhzhuang-zju 8cb9f4224c add new command patch
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-30 10:31:06 +08:00
karmada-bot ca7438a909
Merge pull request #5456 from RainbowMango/pr_bump_kind
Bump Kind to v0.24.0
2024-08-30 10:06:46 +08:00
Mohamed Awnallah 48e6fe7e0f pkg/karmadactl/interpret/interpret.go: chore help
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-08-29 18:53:48 +00:00
karmada-bot 6d26feb77c
Merge pull request #5458 from zhzhuang-zju/karmadactlannotate
add new command annotate
2024-08-29 21:17:47 +08:00
karmada-bot 6b6a16dac7
Merge pull request #5457 from zhzhuang-zju/toppod
Provide detailed error message when the  e2e test fails
2024-08-29 20:29:46 +08:00
karmada-bot 10cc29ae92
Merge pull request #5453 from zhzhuang-zju/karmadactllabel
add new command label
2024-08-29 19:47:46 +08:00
zhzhuang-zju 65f686e473 add new command annotate
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-29 19:47:08 +08:00
karmada-bot bd483c141d
Merge pull request #5454 from whitewindmills/words-cleanup
Fix spelling errors
2024-08-29 19:43:46 +08:00
圣朋 48b03df9c9 fix: aggregate apiserver http method to get
Signed-off-by: 圣朋 <sp441185@alibaba-inc.com>
2024-08-29 17:59:12 +08:00
zhzhuang-zju a379359cf4 Provide detailed error message when the e2e test fails
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-29 17:31:28 +08:00
RainbowMango 9aba233c47 Bump Kind to v0.24.0 which default node image is Kubernetes v1.31.0.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-08-29 17:10:49 +08:00
karmada-bot 12f881b314
Merge pull request #5445 from anujagrawal699/addedTests-cmd/descheduler
Added tests for cmd/descheduler
2024-08-29 16:51:46 +08:00
zhzhuang-zju 8b21a65f97 add new command label
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-29 16:02:12 +08:00
whitewindmills b4ad838227 Fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-29 15:58:05 +08:00
Anuj Agrawal 9d5e86e7dc Added tests for cmd/descheduler
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for cmd/descheduler

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-29 13:27:19 +05:30
Nishant Bansal 3e5ea52ac6 Improved test coverage for dependencies_distributor in pkg/dependenciesdistributor
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-29 12:49:20 +05:30
karmada-bot 47cea6a84d
Merge pull request #5432 from spiritNO1/fix_url
fix: remove extra slash when constructing member cluster URL if the apiEndpoint of the cluster object ends with a slash
2024-08-29 12:20:46 +08:00
karmada-bot ac20f41e41
Merge pull request #5452 from hulizhe/karmadactltoppod
enhance top pod command
2024-08-29 12:18:46 +08:00
hulizhe 1a34a70ef3 enhance top pod command
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-29 10:50:30 +08:00
karmada-bot c9e0ad71cc
Merge pull request #5442 from iawia002/job-clean
charts/karmada: automatically clean up the static-resource Job after it completes
2024-08-29 10:38:46 +08:00
karmada-bot 2efe03fac9
Merge pull request #5441 from RainbowMango/pr_bump_custom-metrics-apiserver
Bump custom-metrics-server to v1.30.0
2024-08-28 22:05:45 +08:00