karmada-bot
2ce29eac28
Merge pull request #5260 from jabellard/extern_etcd_secret_ref
...
Proposal: Enhance `EcternalEtcd` Configuration to Support Retrieving etcd Client Credentials from a Kubernetes Secret
2024-09-12 10:06:58 +08:00
karmada-bot
01df299c8b
Merge pull request #5505 from RainbowMango/pr_nominate_chart_owners
...
Nominates Amir and Chaosi as the owners of helm chart
2024-09-12 10:03:59 +08:00
karmada-bot
76d265f150
Merge pull request #5523 from chaosi-zju/karmadactl-bug
...
Fix `karmadactl addon` failed to install karmada-scheduler-estimator due to unknown flag
2024-09-12 09:46:58 +08:00
karmada-bot
87c208ab33
Merge pull request #5529 from yelshall/yelshall/bump
...
Bump golang version to 1.22.7 to address security warnings
2024-09-12 09:18:58 +08:00
karmada-bot
8968400611
Merge pull request #5525 from XiShanYongYe-Chang/fix-occasional-suspend-case-failed
...
Fix occasional suspension case failed
2024-09-12 09:15:59 +08:00
yelshall
9935ae74e0
bump go version to 1.22.7
...
Signed-off-by: yelshall <youssuf.elshall@zendesk.com>
2024-09-11 11:11:26 -07:00
changzhen
998c547414
fix occasional suspension case failed
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-09-11 17:28:14 +08:00
chaosi-zju
e7db9d74b0
remove redundant launch arguments when install estimator by karmadactl
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-11 16:59:28 +08:00
karmada-bot
4ac95b95a1
Merge pull request #5508 from mohamedawnallah/unifyUsingPolicyV1Alpha1Operators
...
pkg+test: unify the usage of policyv1alpha1 operators
2024-09-11 12:05:57 +08:00
karmada-bot
8cd47397c3
Merge pull request #5514 from liangyuanpeng/ci_update
...
chore: update ci for kubernetes 1.31 and schedule for release-1.11
2024-09-11 11:01:57 +08:00
karmada-bot
f1926bf55b
Merge pull request #5515 from liangyuanpeng/karmada_apiserver_1.30
...
Update karmada-apiserve and kube-controller-manager to v1.30.4 by default.
2024-09-11 10:56:57 +08:00
Lan Liang
0395765962
Update karmada-apiserve and kube-controller-manager to v1.30.4 by default.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-09-10 13:59:13 +00:00
Lan Liang
6c8e228cff
chore: update ci for kubernetes 1.31 and schedule for release-1.11
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-09-10 13:54:18 +00:00
karmada-bot
07e297681c
Merge pull request #5478 from jabellard/estimator_service_namespace
...
Add the Ability to Specify the Namespace Used for Discovering Scheduler Estimator Services
2024-09-10 19:41:56 +08:00
karmada-bot
ca1b2ce3c7
Merge pull request #5492 from mohamedawnallah/unitTestPropagationPolicy
...
pkg/webhook: unit test propagation policy
2024-09-10 14:13:56 +08:00
karmada-bot
2577b5f63e
Merge pull request #5499 from mohamedawnallah/unitTestResourceDeletionProtectionWebhook
...
pkg/webhook: unit test resource deletion protection
2024-09-10 11:44:56 +08:00
Mohamed Awnallah
e2a3f5942c
pkg/webhook: test PropagationPolicy
...
In this commit, we introduce unit tests for both the `ValidatingAdmission`
and `MutatingAdmission` webhooks for the `PropagationPolicy` resource.
The tests include:
- Validation webhook tests:
- Tests how the webhook responds when decoding the request object fails.
- Ensures that updates to the `SchedulerName` field are denied, as it should remain immutable.
- Validates that changes to the `PropagationPolicyPermanentIDLabel` label and its absence in creation requests are correctly handled.
- Confirms that valid `PropagationPolicy` objects are allowed through without errors.
- Mutation webhook tests:
- Handles decode errors and denies admission when decoding fails.
- Provides full coverage of policy mutation with default values and patch application.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-10 06:39:20 +03:00
karmada-bot
aaae246280
Merge pull request #5487 from zhzhuang-zju/namespace
...
fix: command create cannot specify the namespace
2024-09-10 11:32:56 +08:00
karmada-bot
4668cf0808
Merge pull request #5321 from tiansuo114/node
...
Support multiple label selection ability in EtcdNodeSelectorLabels
2024-09-10 11:07:57 +08:00
zhzhuang-zju
4a2dc3d935
fix: command create cannot specify the namespace
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-10 10:23:09 +08:00
karmada-bot
9ea50b8906
Merge pull request #5504 from RainbowMango/pr_add_image_update_v111
...
Stop updating images for release-1.8 and adding release-1.11
2024-09-10 09:57:56 +08:00
Mohamed Awnallah
be87fd5e71
pkg+test: unify usage of policyv1alpha1 operators
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-09 22:56:47 +03:00
Joe Nathan Abellard
750e076bfb
Initial structure
...
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Initial structure
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Fix typos
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Fix typos
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Address comments
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Address comments
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-09-09 12:45:42 -04:00
karmada-bot
54b90a2ff2
Merge pull request #5467 from xovoxy/cluster-ut
...
add test for pkg/controllers/cluster
2024-09-09 20:21:56 +08:00
tiansuo114
2c57ebae0e
Support multiple label selection ability in EtcdNodeSelectorLabels
...
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix ci
Signed-off-by: tiansuo114 <1729765480@qq.com>
add unit test
Signed-off-by: tiansuo114 <1729765480@qq.com>
change unit test
Signed-off-by: tiansuo114 <1729765480@qq.com>
rm mapsEqual
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix
Signed-off-by: tiansuo114 <1729765480@qq.com>
1111111111111111111111
Signed-off-by: tiansuo114 <1729765480@qq.com>
Update pkg/karmadactl/cmdinit/cmdinit.go
Co-authored-by: zhzhuang-zju <m17799853869@163.com>
use metav1.ParseToLabelSelector
Signed-off-by: tiansuo114 <1729765480@qq.com>
delete useless test
Signed-off-by: tiansuo114 <1729765480@qq.com>
11
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix
Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-09-09 20:05:23 +08:00
Joe Nathan Abellard
b6fbcb4353
Add the ability to specify namespace to be used for discovering scheduler estimator services
...
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Address comments
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Address comments
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-09-09 07:21:57 -04:00
RainbowMango
dfa1fbef67
Nominates Amir and Chaosi as the owners of helm chart
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-09-09 14:53:22 +08:00
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
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