Anuj Agrawal
4f160e297d
Added unit tests for scheduler framework types
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-28 15:59:21 +05:30
karmada-bot
ff6075c801
Merge pull request #5740 from husnialhamdani/operator-file-naming
...
fix operator file naming
2024-10-28 16:51:38 +08:00
Husni Alhamdani
655aa5594e
fix operator file naming
...
Signed-off-by: Husni Alhamdani <dhanielluis@gmail.com>
2024-10-28 16:00:26 +08:00
karmada-bot
e65e993d2d
Merge pull request #5747 from a7i/rollback-metadata
...
chore: unify karmada labels/annotations usage in execution controller and test
2024-10-28 11:49:37 +08:00
Amir Alavi
1a7409d815
chore: unify karmada labels/annotations usage in execution controller and test
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-26 14:06:04 -04:00
karmada-bot
1cd75f4fd0
Merge pull request #5621 from ipsum-0320/Implement-group-score-calc-base
...
Implement calc group score for divided to assign replicas evenly
2024-10-26 18:26:36 +08:00
karmada-bot
53afbbcaca
Merge pull request #5609 from wulemao/rollback-e2e1
...
add e2e for migration rollback feature
2024-10-26 14:45:35 +08:00
ipsum-0320
aa8cbda942
feat: calc group score by weight
...
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
chore: update
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
re-test
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
feat: update basic score
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
chore: add comment
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
feat: calcGroupScoreForDivided
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
fix: lint error
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
chore: fix the comment
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
feat: resolve the comments
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
fix: lint error
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-10-26 14:11:33 +08:00
wulemao
90c70dfd66
add e2e for migration rollback feature
...
Signed-off-by: wulemao <1194736083@qq.com>
2024-10-26 11:58:45 +08:00
karmada-bot
9754a28dad
Merge pull request #5357 from tiansuo114/origin
...
Feature: karmadactl init supports deployment through configuration files
2024-10-26 10:35:35 +08:00
karmada-bot
b4cd68aaa7
Merge pull request #5704 from mohamedawnallah/unitTestCRDInitTask
...
operator/pkg/tasks/init: unit test crds
2024-10-25 17:56:34 +08:00
tiansuo114
9b9847e3f7
Feature: karmadactl init supports deployment through configuration files
...
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix lint
Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-10-25 17:02:59 +08:00
karmada-bot
f7d6da341e
Merge pull request #4418 from chaunceyjiang/pr_4410
...
feat: set conflictResolution for dependent resources.
2024-10-25 16:53:34 +08:00
chaunceyjiang
38bb553266
feat: set conflictResolution for dependent resources.
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-10-25 15:15:14 +08:00
karmada-bot
53c00f72f2
Merge pull request #5711 from anujagrawal699/addedTests-pkg/detector-part1
...
Added first part of unit tests for pkg/detector
2024-10-25 14:14:35 +08:00
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
e204459087
Merge pull request #5519 from zhzhuang-zju/operator
...
add ci for karmada operator
2024-10-24 16:54:34 +08:00
zhzhuang-zju
4f2b2f0918
add operator ci
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-24 16:00:13 +08:00
zhzhuang-zju
e8aa2ff651
add script to deploy karmada-operator and karmada instance
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-24 16:00:01 +08:00
karmada-bot
5e7d83629f
Merge pull request #5739 from chaosi-zju/local-up-ca
...
add CA data to local up generated karmada config for enhanced security
2024-10-24 15:13:33 +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
chaosi-zju
7cbee99fab
add CA data to local up generated karmada config for enhanced security
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-10-24 10:14:51 +08:00
karmada-bot
60e8e34009
Merge pull request #5720 from jabellard/external_etcd_part2
...
External `etcd` Support for Karmada Operator - Part 2
2024-10-24 09: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
Joe Nathan Abellard
54427360c8
Onwards!
...
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Onwards!
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Onwards!
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Onwards!
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Onwards!
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Onwards!
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Onwards!
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-10-23 07:10:57 -04:00
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
Anuj Agrawal
012517d81e
Added first part of unit tests for pkg/detector
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
Added first part of unit tests for pkg/detector
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-10-23 12:24:26 +05:30
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
13df63fa46
Merge pull request #5586 from B1F030/karmada-operator-rbac
...
minimize the rbac permissions for karmada-operator
2024-10-22 15:44:32 +08:00
B1F030
8b6d4c4fc1
minimize the rbac permissions for karmada-operator
...
Signed-off-by: B1F030 <646337422@qq.com>
2024-10-22 11:10:38 +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
karmada-bot
5eb6e6f88f
Merge pull request #5716 from mohamedawnallah/fixFlakyCertStoreUnitTest
...
operator/pkg/certs/store_test: fix flaky test `TestCertList`
2024-10-22 09:31:32 +08:00
Mohamed Awnallah
6c68781889
operator/pkg/certs/store_test: fix flaky test
...
In this commit, we fix flaky test in `store_test.go` by using
`GetCert` to retrieve secrets instead of unreliable `CertList`
indexing due to non-guarnteed map order.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-21 16:29:26 +03:00
karmada-bot
6a827f60bc
Merge pull request #5685 from LivingCcj/master
...
add ResourceSummary deep copy in general-estimator
2024-10-21 20:27: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
aca83a7689
Merge pull request #5715 from karmada-io/dependabot/github_actions/aquasecurity/trivy-action-0.28.0
...
build(deps): bump aquasecurity/trivy-action from 0.27.0 to 0.28.0
2024-10-21 14:17:31 +08:00
dependabot[bot]
b7b9924062
build(deps): bump aquasecurity/trivy-action from 0.27.0 to 0.28.0
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.27.0...0.28.0 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 05:23:47 +00:00
karmada-bot
a3005d770b
Merge pull request #5636 from mohamedawnallah/unitTestRBACInitTaskOperatorPkg
...
operator/pkg/tasks/init: unit test rbac
2024-10-21 12:04:31 +08:00
karmada-bot
98b600d7d1
Merge pull request #5625 from mohamedawnallah/unitTestCertTaskInitOperatorPkg
...
operator/pkg/tasks/init: unit test cert
2024-10-21 11:27:31 +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
karmada-bot
d172659ff5
Merge pull request #5559 from mohamedawnallah/unitTestOperatorCertsPkg
...
operator/pkg/certs: unit test Certificate Manager and Karmada Store
2024-10-21 10:50:32 +08:00
karmada-bot
aab8bb9c00
Merge pull request #5710 from MAVRICK-1/chore/update-trivy-version-v0.53.0
...
chore(hack): upgrade Trivy to v0.56.1 for consistency with CI
2024-10-21 09:26:30 +08:00
Rishi Mondal
cbfdfa9e44
chore/update-trivy-version-v0.56.1
...
Signed-off-by: Rishi Mondal <mavrickrishi@gmail.com>
2024-10-20 10:25:53 +05:30
Mohamed Awnallah
a83c26eac9
operator/pkg/certs: test certs
...
In this commit, we introduce unit tests for operator `certs` package.
The test cases include but not limited to:
- Test private key generation.
- Test self-signed certificate authority (CA) generation.
- Verify creation of self-signed certificate and key files within the CA.
- Include tests for utility functions, such as appending to Subject Alternative Names in SSL/TLS certificates.
- Add tests for Karmada Store operations related to certificates stored in Kubernetes Secrets:
- Create
- Read
- Update
- Load
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-19 15:47:05 +03:00
karmada-bot
31bc0224f2
Merge pull request #5699 from jabellard/external_etcd_3
...
External `etcd` Support for Karmada Operator - Part 1
2024-10-19 19:27:29 +08:00
Joe Nathan Abellard
b8de9678e2
Onwards!
...
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Onwards!
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Onwards!
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-10-19 06:30:32 -04: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
Mohamed Awnallah
33b75f7b08
operator/pkg: unit test cert tasks
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-19 12:46:28 +03:00