Commit Graph

49 Commits

Author SHA1 Message Date
Joe Nathan Abellard a80be33e4a Fix issues with running multiple Karmada instances in the same namespace
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2025-03-01 17:10:17 -05:00
karmada-bot 2be704299d
Merge pull request #6079 from zhzhuang-zju/webhookurl
karmada-webhook: fix the no such host error
2025-02-10 10:25:07 +08:00
zhzhuang-zju fffd206673 karmada-webhook: fix the no such host error
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-07 11:04:57 +08:00
wei-chenglai 1e3d8c05f0 Standardize the naming of karmada config in Karmada Operator
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-02-05 14:04:53 +09:00
Joe Nathan Abellard 5a7f917bce Only genrate ETCD PKI for local ETCD setup
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-12-25 16:12:33 -05:00
Mohamed Awnallah 6144ea5a9b cmd+hack+operator+pkg: unify addons constants
In this commit we unify the usage of addon names i.e
`karmada-descheduler`, `karmada-scheduler-estimator`, `karmada-search`,
and `karmada-metrics-adapter` across the codebase.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2024-12-05 18:45:44 +02:00
chaosi-zju 13c28a00b2 fix code typo errors
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-28 11:01:54 +08:00
zhzhuang-zju 63590cbeee karmada-operator: add CRDs archive verification to enhance file system robustness
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-27 15:07:56 +08:00
Joe Nathan Abellard 4ff99ebbd9 Address comments
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-11-20 07:41:31 -05:00
Joe Nathan Abellard 620638d0f4 Fix lint errors
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-11-19 19:57:14 -05:00
Joe Nathan Abellard 91322e2f5f Add support for custom API Server CA certificate
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-11-19 19:45:04 -05:00
chaosi-zju 8cae64fd6e refactor operator module validation logic for Karmada objects
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-18 10:31:04 +08:00
chaosi-zju 7aae08fb42 enable LoadBalancer type karmada-apiserver service in operator
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-02 16:30:51 +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
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 a3005d770b
Merge pull request #5636 from mohamedawnallah/unitTestRBACInitTaskOperatorPkg
operator/pkg/tasks/init: unit test rbac
2024-10-21 12:04:31 +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
Mohamed Awnallah 1d13634e66 operator/pkg/tasks: unit test crds
In this commit, we unit test crds on preparing, skipping,
downloading, and unpacking operations.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-18 00:32:26 +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
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
Mohamed Awnallah ecdc909505 operator/pkg/tasks: unit test apiserver
In this commit, we introduce unit tests for the apiserver init
task in the operator pkg by testing the running and waiting operations
on Karmada API Server and Karmada Aggregated API Server.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-10 07:54:54 +03:00
Mohamed Awnallah fdf7b53586 operator/pkg: add test helpers
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-09 04:57:48 +03:00
Joe Nathan Abellard 1ae5bd1924 Initial strucutre
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Update crds

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Remove debug logs

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Remove debug logs

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Remove debug logs

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Remove debug logs

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Fix linting errors

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Address comments

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Update api

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>

Update api

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>

Address comments

Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-08-06 12:15:16 -04:00
zhzhuang-zju 4916e3b9cd feat: support install karmada search with operator
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2023-12-05 20:46:25 +08:00
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
wawa0210 9ec3c40032 fix karmada instance aggregated service externalName error
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
2023-11-08 17:48:54 +08:00
karmada-bot f2c7d0b806
Merge pull request #4063 from chaosi-zju/operator
remove insecureSkipTLSVerify in operator
2023-10-28 10:42:31 +08:00
Lan Liang 3fbd7219d1 Operator support work with crds v1.7.0
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2023-10-18 13:26:09 +00:00
chaosi-zju b27da00291 remove insecureSkipTLSVerify in operator
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-20 19:47:20 +08:00
calvin c422952736 karmada operator: change karmada system namespace
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-09-19 15:40:48 +08:00
calvin 6d3bd8d507 add karmada apiserver kubeconfig to karmada status
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-09-19 10:49:39 +08:00
whitewindmills c8423cb237 fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-09-04 10:22:39 +08:00
karmada-bot 9003c83fc2
Merge pull request #3953 from Vacant2333/add_rbac_task_when_karmada_operator_init
Feat: Add rbac task when karmada operator init
2023-08-30 17:27:09 +08:00
Tanggui Bian 9607b9e807 Remove the execute permission from the directory
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-08-24 19:24:48 +08:00
calvin 1abdba3ec8 karmada operator: install karmada metrics adapter addon
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-08-22 18:11:42 +08:00
Vacant2333 6dc9487084 add rbac task when karmada operator init
Signed-off-by: Vacant2333 <rentian.zhou@daocloud.io>
2023-08-21 15:42:57 +08:00
Vacant2333 a6de63740b update operator default timeout
Signed-off-by: Vacant2333 <rentian.zhou@daocloud.io>
2023-08-17 14:21:50 +08:00
honglian.you a3441a11c2 fix: AdminKubeconfigSecretName function name
Signed-off-by: honglian.you <honglian.you@daocloud.io>
2023-07-03 10:32:47 +08:00
calvin 805aca42d1 support custom args and featureGates
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-06-29 18:20:31 +08:00
Vacant2333 7bd2ced976 fix typos
Signed-off-by: Vacant2333 <rentian.zhou@daocloud.io>
2023-06-02 10:39:02 +08:00
karmada-bot 8594406e5f
Merge pull request #3398 from whitewindmills/code-cleanup
Fix inspection errors
2023-05-19 20:28:53 +08:00
whitewindmills 89295f9606 Fix inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +08:00
calvin fef5afe3cd implement installing karmada descheduler
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-05-12 09:52:44 +08:00
calvin 2e3701b1b6 support custom labels and annotations
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-05-05 16:58:59 +08:00
calvin0327 428dd0a769 add nodeport service type for apiserver
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2023-04-28 09:58:13 +08:00
calvin0327 10b115acbc fixed karmada-aggregated-apiserver name
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2023-04-21 16:40:02 +08:00
calvin 560cba356b optimize karmada aggregated apiserver startup
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-04-14 10:43:10 +08:00
calvin a6e3d8386b add deinit workflow
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-03-14 17:11:16 +08:00
calvin ec53c2a5b1 add karmada operator init workflow
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-03-01 10:06:20 +08:00