karmada-bot
c6c20a9e22
Merge pull request #5733 from anujagrawal699/addedTests-pkg/util/round_trippers.go-context.go-policy-go
...
Added tests for utility functions in the pkg/util
2024-10-24 19:19:34 +08:00
karmada-bot
7347f11ebb
Merge pull request #5717 from XiShanYongYe-Chang/handle-preserveResource-with-dependency
...
Keep preserveResourcesOnDeletion of the dependent resource consistent with that of the primary resource
2024-10-24 12:21:33 +08:00
Anuj Agrawal
d35b21e786
Added tests for utility functions in the pkg/util
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-23 17:38:57 +05:30
karmada-bot
331145f789
Merge pull request #5700 from anujagrawal699/addedTest-pkg/util/lifted/corev1printers.go-part2
...
Added second part of unit tests for pkg/util/lifted/corev1printers.go
2024-10-23 15:04:32 +08:00
karmada-bot
4d0181c2b9
Merge pull request #5706 from RainbowMango/pr_fix_incorrect_grade_choice
...
Fixes incorrect resource model selection
2024-10-23 14:52:32 +08:00
karmada-bot
f19a4b5281
Merge pull request #5543 from anujagrawal699/addedTests-controllers/gracefuleviction
...
Added tests for graceful eviction controller
2024-10-23 10:45:32 +08:00
changzhen
f63c134aa4
handle preserveResourceOnDeletion with dependencise distributor
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-10-23 10:25:31 +08:00
karmada-bot
be571fbe8e
Merge pull request #5662 from yanfeng1992/fix-search-match-resource
...
hasResource should return whether resource is matched not cached
2024-10-22 10:47:32 +08:00
LivingCcj
3a4464aa00
add ResourceSummary deep copy in general-estimator
...
Signed-off-by: LivingCcj <livingccj@163.com>
2024-10-21 19:33:37 +08:00
karmada-bot
e316db3a48
Merge pull request #5481 from anujagrawal699/addedTests-pkg/controllers/cronfederatedhpa
...
Added tests for cronfederatedhpa controller
2024-10-21 11:03:31 +08:00
RainbowMango
a6679ddec0
Fixes an issue where resource model grades were incorrectly matched based on resource requests. Now only grades that can provide sufficient resources will be selected.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-10-19 18:07:22 +08:00
karmada-bot
fdc47f8688
Merge pull request #5472 from zhzhuang-zju/dial
...
karmada-scheduler-estimator add the support for custom DNS suffix
2024-10-19 16:16:29 +08:00
karmada-bot
4294e60704
Merge pull request #5561 from mohamedawnallah/validateKeyAndHandleErrors
...
operator/pkg/certs: validate X509 Cert key types and improve error handling
2024-10-19 15:19:29 +08:00
wei-chenglai
5b48832496
Fix InterpreterOperationAll description typo
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-10-18 23:10:39 -04:00
Mohamed Awnallah
ad7a70b008
operator/pkg/certs: validate key types and val err
...
In this commit, we enhance the `GeneratePrivateKey` and `ParsePrivateKeyPEM` functions:
- Added validation for unsupported key types and provided a more descriptive error message.
This function supports ECDSA (using P-256) and RSA (with a key size of 3072 bits) algorithms.
It returns an error for unsupported key types.
- Improved error handling to include the type of the unsupported key format in the error message.
This function now provides more informative feedback when the private key format is neither RSA nor ECDSA.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-18 15:48:34 +03:00
karmada-bot
29c97e9848
Merge pull request #5602 from mohamedawnallah/dependOnAggregatorInterface
...
operator/pkg: depend on `aggregator.Interface` instead of `*aggregator.Clientset`
2024-10-17 11:58:28 +08:00
Anuj Agrawal
35b92e4c1b
Added second part of unit tests for pkg/util/lifted/corev1printers.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-16 20:53:53 +05:30
karmada-bot
19b32a2979
Merge pull request #5597 from a7i/amir/preserveResourcesOnDeletion
...
implement preserveResourcesOnDeletion to support migration rollback
2024-10-16 18:19:27 +08:00
karmada-bot
4db886790f
Merge pull request #5681 from anujagrawal699/part2-addedTests-pkg/scheduler/scheduler.go
...
Added second part of unit tests for pkg/scheduler
2024-10-16 15:51:27 +08:00
karmada-bot
0d520c0490
Merge pull request #5695 from anujagrawal699/addedTest-pkg/util/lifted/corev1printers.go-part1
...
Added first part of unit tests for pkg/util/lifted/corev1printers.go
2024-10-16 15:49:27 +08:00
Anuj Agrawal
b98dc6e950
Added tests for pkg/util/membercluster_client_test.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for pkg/util/membercluster_client_test.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-15 22:58:00 +05:30
Anuj Agrawal
261cbdb70b
Added second part of unit tests for pkg/scheduler
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added second part of unit tests for pkg/scheduler
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added second part of unit tests for pkg/scheduler
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-15 14:59:46 +05:30
karmada-bot
bf771c7a8a
Merge pull request #5680 from anujagrawal699/part1-addedTests-pkg/scheduler/scheduler.go
...
Added first part of unit tests for pkg/scheduler
2024-10-15 12:09:26 +08:00
Amir Alavi
68c0104bc4
remove labels and annotation from resources
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-14 22:49:59 -04:00
Amir Alavi
866959a072
implement preserveResourcesOnDeletion to support migration rollback
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-14 20:36:53 -04:00
Anuj Agrawal
ace0e69099
Added first part of unit tests for pkg/util/lifted/corev1printers.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-14 22:12:15 +05:30
huangyanfeng
e7b6513db0
HasResource should return whether resource is registered not cached
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-10-14 17:21:25 +08:00
Anuj Agrawal
0d6d2d732e
Added first part of unit tests for pkg/scheduler
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added first part of unit tests for pkg/scheduler
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-14 13:01:27 +05:30
karmada-bot
d8b1889321
Merge pull request #5682 from anujagrawal699/addedTests-pkg/util/lifted/podtemplate.go
...
Added unit tests for pkg/util/lifted/podtemplate.go
2024-10-14 11:59:25 +08:00
karmada-bot
e117edcfc3
Merge pull request #5684 from anujagrawal699/addedTests-pkg/util/lifted/-validateclustertaints.go-validatingmcs.go
...
Added tests for validateclustertaints.go and validatingmcs.go
2024-10-14 10:59:25 +08:00
LavredisG
8df8c0f3db
Update interface.go
...
Signed-off-by: LavredisG <lavredisgoume@gmail.com>
2024-10-13 12:41:50 +03:00
Anuj Agrawal
b30b04fa4b
Added tests for pkg/util/lifted/validateclustertaints.go and validatingmcs.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-12 18:34:30 +05:30
Anuj Agrawal
5124c2d164
Added unit tests for pkg/util/lifted/podtemplate.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-12 17:20:11 +05:30
karmada-bot
839737dc1b
Merge pull request #5644 from anujagrawal699/addedTests-scheduler/metrics-scheduler/framework
...
Added tests for metrics and framework package of pkg/scheduler
2024-10-12 10:54:23 +08:00
karmada-bot
b52775f926
Merge pull request #5671 from chaunceyjiang/fieldoverrider_validate
...
feat: validate fieldOverrider operation
2024-10-12 10:10:23 +08:00
karmada-bot
d295576a5e
Merge pull request #5646 from anujagrawal699/addedTests-pkg/scheduler/core/common.go
...
Added tests pkg/scheduler/core/common.go
2024-10-11 18:28:23 +08:00
Anuj Agrawal
5dc2355172
Added tests for pkg/scheduler/core/common.go
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for pkg/scheduler/core/common.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-11 15:04:47 +05:30
chaunceyjiang
f45aedb716
feat: validate fieldOverrider operation
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-10-11 14:59:04 +08:00
RainbowMango
e9e3c62db8
Update file line terminators to LF
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-10-11 11:05:13 +08:00
karmada-bot
5dd4ab80ad
Merge pull request #5663 from anujagrawal699/addedTests-pkg/util/lifted/validatingfhpa.go
...
Added unit tests for FederatedHPA validation
2024-10-10 20:21:22 +08:00
karmada-bot
4a77d619fe
Merge pull request #5649 from anujagrawal699/addedTests-pkg/descheduler/core
...
Added new tests and refractored old in pkg/descheduler/core
2024-10-10 17:57:21 +08:00
karmada-bot
f32780f9f8
Merge pull request #5637 from anujagrawal699/addedTests-pkg/scheduler/cache
...
Added tests for scheduler/cache
2024-10-10 17:27:23 +08:00
Anuj Agrawal
e9f4e7a6ca
Added unit tests for FederatedHPA validation
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-10 13:55:15 +05:30
Anuj Agrawal
4a0fb95945
Added tests for scheduler/cache
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added tests for pkg/scheduler/cache
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-10 08:19:55 +05:30
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
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