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
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
Mohamed Awnallah
f74dbb0519
operator/pkg/karmadaresource: test RBAC
...
In this commit, we add unit tests for the RBAC in the karamada resource
operator pkg making sure Karmada Resource View Clusterrole and Karmada
Resource Edit Clusterrole are working as expected.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-16 20:48:45 +03:00
Mohamed Awnallah
a7dd3f887c
operator/pkg/controlplane: test karmada search
...
In this commit, we include unit tests for karmada search in the
operator control plane package to make sure installing karmada search
and its associated service are working as expected.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-16 20:41:23 +03:00
Mohamed Awnallah
f9d9b098c1
operator/pkg/controlplane: test metricsadapter
...
In this commit, we add unit tests for the metrics adapter controlplane pkg
of the operator making sure that installing Karmada Metrics Adapter Deployment
works as expect and its associated service.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-16 20:40:40 +03:00
Mohamed Awnallah
5ef98ec66f
operator/pkg/util: unit test patcher
...
In this commit, we unit test the patcher in the karmada operator
pkg on patching the Deployment and StatefulSet K8S objects.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-16 19:59:19 +03:00
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
karmada-bot
840300baf0
Merge pull request #5698 from anujagrawal699/addedTests-pkg/util/membercluster_client_test.go
...
Added tests for pkg/util/membercluster_client_test.go
2024-10-16 11:25:26 +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
karmada-bot
47efa57102
Merge pull request #5679 from chaosi-zju/secret-local-config
...
standardize the naming of karmada config in local up method
2024-10-15 20:09:26 +08:00
chaosi-zju
1b79bbaf86
standardize the naming of karmada config in local up method
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-10-15 17:35:38 +08:00
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
karmada-bot
268e6725a0
Merge pull request #5676 from mohamedawnallah/unitTestKubeConfigDeInit
...
operator/pkg/tasks/deinit: unit test kubeconfig
2024-10-14 15:54:25 +08:00
karmada-bot
dcdabc9278
Merge pull request #5678 from mohamedawnallah/unitTestComponentDeInitTask
...
operator/pkg/tasks/deinit: unit test component
2024-10-14 15:32: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
7fe6bd183f
Merge pull request #5693 from karmada-io/dependabot/github_actions/aquasecurity/trivy-action-0.27.0
...
build(deps): bump aquasecurity/trivy-action from 0.24.0 to 0.27.0
2024-10-14 14:34:25 +08:00
dependabot[bot]
ac3eaa00d1
build(deps): bump aquasecurity/trivy-action from 0.24.0 to 0.27.0
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.24.0 to 0.27.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.24.0...0.27.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-14 05:40:59 +00:00
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
karmada-bot
11b31751e0
Merge pull request #5657 from mohamedawnallah/unitTestWaitInitTask
...
operator/pkg/tasks/init: unit test wait
2024-10-14 10:00:25 +08:00
karmada-bot
9cf615c410
Merge pull request #5689 from LavredisG/patch-2
...
Update interface.go
2024-10-14 09:33: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
Mohamed Awnallah
085148bfc6
operator/pkg/util/apiclient: unit test wait
...
In this commit, we unit test the API client on waiting for API server,
API service, all pods constraint, some pods constraint, and the exponential
backoff utility.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-12 10:46:22 +03:00
Mohamed Awnallah
04d073c12d
operator/pkg/tasks: unit test wait init task
...
In this commit, we unit test wait init task on waiting for Karmada APIServer
and Karmada Control Plane components.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-12 10:42:01 +03:00
karmada-bot
201409c98c
Merge pull request #5643 from mohamedawnallah/unitTestCertDeInitTaskOperatorPkg
...
operator/pkg/tasks/deinit: unit test cert
2024-10-12 15:07:24 +08:00
karmada-bot
23bcebc82c
Merge pull request #5624 from mohamedawnallah/unitTestAPIServerTaskInitOperatorPKG
...
operator/pkg/tasks: unit test apiserver
2024-10-12 14:16:23 +08:00
Mohamed Awnallah
fddfb29a85
operator/pkg/tasks/deinit: unit test component
...
In this commit, we unit test component deinit task in the karmada
operator package on removing component subtasks and etcd component.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-12 08:41:50 +03:00
Mohamed Awnallah
2c7aea5f9e
operator/pkg/tasks: test cert deinit task
...
In this commit, we unit test the cert deinit task on the
clean up operations.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-12 07:23:20 +03:00
karmada-bot
0f26e6e95c
Merge pull request #5590 from mohamedawnallah/unitTestKarmadaControlPlaneOperatorPkg
...
operator/pkg/controlplane: unit test controlplane
2024-10-12 11:49:23 +08:00
karmada-bot
3e0516fb96
Merge pull request #5588 from mohamedawnallah/unitTestKarmadaWebhook
...
operator/pkg/controlplane: unit test karmada webhook
2024-10-12 11:23:23 +08:00
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