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
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
karmada-bot
517cb0d3a9
Merge pull request #5423 from chaosi-zju/secret-local
...
standardize the naming of karmada secrets in local up method
2024-10-19 16:36:30 +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
chaosi-zju
edb224d7d2
standardize the naming of karmada secrets in local up method
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-10-19 15:37:34 +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
karmada-bot
645fbe919b
Merge pull request #5707 from MAVRICK-1/update-karmada-components-v1.11.0
...
chore: update image tags for Karmada components to v1.11.1
2024-10-19 14:22:29 +08:00
Rishi Mondal
29980be10e
chore: update image tags for Karmada components to v1.11.1
...
Signed-off-by: Rishi Mondal <mavrickrishi@gmail.com>
2024-10-19 10:28:41 +05:30
karmada-bot
76e01b148b
Merge pull request #5712 from seanlaii/fix-typo
...
Fix InterpreterOperationAll description typo
2024-10-19 12:12: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
karmada-bot
21e6dcd0fc
Merge pull request #5709 from zhzhuang-zju/sbom-update
...
fix the error lstat /github/workspace: no such file or directory
2024-10-19 10:22:29 +08: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
ffbbe067bf
Merge pull request #5708 from MAVRICK-1/update-changelog-link
...
update CHANGELOG.md to point to the changelog directory
2024-10-18 18:09:29 +08:00
zhzhuang-zju
d41a8cdd9d
fix the error lstat /github/workspace: no such file or directory
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-18 16:03:06 +08:00
karmada-bot
2fe8570179
Merge pull request #5705 from zhzhuang-zju/releasenote1.12.1
...
publish release note for v1.12.0-alpha.1
2024-10-18 15:32:29 +08:00
Rishi Mondal
8711b0a3a7
update CHANGELOG.md to point to the changelog directory
...
Signed-off-by: Rishi Mondal <mavrickrishi@gmail.com>
2024-10-18 12:28:29 +05:30
zhzhuang-zju
80b8146d4d
publish release note for v1.12.0-alpha.1
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-10-18 14:37:48 +08:00
karmada-bot
d1433e2562
Merge pull request #5583 from mohamedawnallah/unitTestEtcdOperatorPkg
...
operator/pkg/controlplane: unit test etcd
2024-10-18 11:56:29 +08:00
karmada-bot
cfadb48084
Merge pull request #5576 from mohamedawnallah/unitTestControlPlaneOperatorPkg
...
operator/pkg/controlplane: unit test apiserver
2024-10-18 11:53:28 +08:00
karmada-bot
9531f0f3bb
Merge pull request #5603 from mohamedawnallah/unitTestRBACOperator
...
operator/pkg/karmadaresource: unit test RBAC
2024-10-18 11:49:28 +08:00
karmada-bot
fc7da71575
Merge pull request #5585 from mohamedawnallah/unitTestMetricsAdapter
...
operator/pkg/controlplane: unit test Metrics Adapter
2024-10-18 11:24:28 +08:00
karmada-bot
12aa64e9fc
Merge pull request #5565 from mohamedawnallah/unitTestKarmadaControllerOfOperator
...
operator/pkg/controller/karmada: unit test Karmada controller
2024-10-18 11:21:28 +08:00
karmada-bot
1a958e2558
Merge pull request #5596 from mohamedawnallah/unitTestAPIServiceKarmadaResourceOperatorPkg
...
operator/pkg/karmadaresource/apiservice: unit test apiservice
2024-10-18 10:20:28 +08:00
karmada-bot
ee1e751327
Merge pull request #5587 from mohamedawnallah/unitTestKarmadaSearchControlPlaneOperatorPkg
...
operator/pkg/controlplane: unit test karmada search
2024-10-18 10:05:28 +08:00
Mohamed Awnallah
06a45c3ad4
operator/pkg/controller: test karmada controller
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-18 03:48:26 +03:00
Mohamed Awnallah
1474463e81
operator/pkg: test apiservice
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-17 19:28:05 +03:00
Mohamed Awnallah
6a83fe478c
operator/pkg/tasks/init: test rbac
...
In this commit, we unit test rbac in the karmada init task
operator package by checking that cluster roles and their associated
cluster role bindings are created as expected.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-17 18:11:01 +03:00
karmada-bot
0d55eadb89
Merge pull request #5659 from mohamedawnallah/unitTestWaitAPIClient
...
operator/pkg/util/apiclient: unit test wait
2024-10-17 20:41:29 +08: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
karmada-bot
46d94ecc86
Merge pull request #5647 from mohamedawnallah/unitTestWorkflowJob
...
operator/pkg/workflow: unit test job
2024-10-17 11:12:28 +08:00
karmada-bot
c230b14827
Merge pull request #5560 from mohamedawnallah/fixNullPointerDereferenceInAltNamesMutators
...
operator/pkg/certs: mitigate potential null pointer dereference in AltNames Mutators for both the `APIServer` and `EtcdServer`
2024-10-17 09:28:28 +08:00
karmada-bot
a96390e489
Merge pull request #5652 from mohamedawnallah/unitTestPatcherOperatorPkg
...
operator/pkg/util: unit test patcher
2024-10-17 09:26:28 +08:00