Mohamed Awnallah
32a85f0df3
operator/pkg/util: unit test naming
...
In this commit, we unit test naming `generateResourceName` utility
on given karmada component name and suffix.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-10 16:49:33 +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
karmada-bot
59e302558d
Merge pull request #5616 from mohamedawnallah/dependOnClientSetInterface
...
operator+pkg: depend on `clientset.Interface` instead of `*clientset.Clientset`
2024-09-29 15:11:12 +08:00
Mohamed Awnallah
a640f0969f
operator+pkg: depend on clientset.Interface for DI
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-27 15:35:40 +03:00
karmada-bot
4f7dc2c409
Merge pull request #5605 from mohamedawnallah/unitTestWebhookConfigurationKarmadaOperator
...
operator/pkg/karmadaresource: unit test `ValidatingWebhookConfiguration` and `MutatingWebhookConfiguration`
2024-09-26 11:22:10 +08:00
karmada-bot
53c4697d6f
Merge pull request #5607 from mohamedawnallah/unitTestSchemeKarmadaOperator
...
operator/pkg/scheme: unit test scheme
2024-09-26 09:58:09 +08:00
Mohamed Awnallah
43a933ca52
operator/pkg: test scheme
...
In this commit, we unit test the init scheme functionality of the operator
by checking that both k8s core scheme and operator v1alpha1 scheme are added.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-25 22:54:16 +03:00
Mohamed Awnallah
b020df1d2c
operator/pkg: test webhook configurations
...
In this commit, we introduce unit tests for mutating and validating webhook
configurations to make sure they are working as expected.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-25 17:46:56 +03:00
karmada-bot
5e36f170e5
Merge pull request #5593 from mohamedawnallah/updateOperatorTagInstallationDocs
...
operator/README.md: redirect users to the latest `karmada-operator` released tag
2024-09-25 10:55:09 +08:00
karmada-bot
5f7fc4fe8e
Merge pull request #5572 from chaosi-zju/operator-rbac
...
`karmada-operator`: Grand proxy permission to system:admin
2024-09-24 16:55:08 +08:00
chaosi-zju
25357ee5b4
authorize system:admin to proxy member clusters during installation
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-24 11:47:18 +08:00
Mohamed Awnallah
5d806be8b8
operator: redirect users to latest operator tag
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-23 15:23:32 +03:00
karmada-bot
9f23d2961d
Merge pull request #5552 from chaosi-zju/bind-descheduler
...
Remove deprecated --bind-address and --secure-port from karmada-descheduler
2024-09-23 14:47:07 +08:00
chaosi-zju
6edb9cee1e
Remove deprecated --bind-address and --secure-port from karmada-descheduler
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-21 10:59:24 +08:00
chaosi-zju
03023103d6
Remove deprecated --bind-address and --secure-port from karmada-scheduler
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-20 18:10:37 +08:00
Joe Nathan Abellard
24d9e12e5c
Set Karmada Cert Secret Used For Configurating mTLS for Scheduler & Descheduler Components
...
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
2024-09-13 16:14:31 -04:00
karmada-bot
4dfff39d56
Merge pull request #5509 from jabellard/volumes_bindings_api_server
...
Support to Specify Extra Volumes and Volume Mounts for Karmada API Server Component
2024-09-12 20:34:58 +08:00
Joe Nathan Abellard
c45b817e74
Initial structure
...
Signed-off-by: Joe Nathan Abellard <contact@jabellard.com>
Initial structure
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>
2024-09-12 07:41:13 -04:00
Lan Liang
0395765962
Update karmada-apiserve and kube-controller-manager to v1.30.4 by default.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-09-10 13:59:13 +00:00
zhzhuang-zju
e2392fb07c
chore: remove redundancy certificate configuration
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-03 20:07:23 +08:00
chaosi-zju
aef704732e
Expose metrics port for operator installation #5428
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-30 11:51:55 +08:00
karmada-bot
d16f0985ec
Merge pull request #5437 from liangyuanpeng/scheduler_options
...
Standardize the health probe and metrics arguments of scheduler.
2024-08-28 09:11:45 +08:00
Lan Liang
0fceab521a
Standardize the health probe and metrics arguments of scheduler.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-27 12:37:21 +00:00
karmada-bot
9a678b65f0
Merge pull request #5290 from seanlaii/controller-manager-options
...
Standardize the health probe argument of karmada-controller-manager
2024-08-27 18:37:45 +08:00
wei-chenglai
f6d022f799
Standardize the health probe argument of karmada-controller-manager
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-08-27 16:29:01 +08:00
whitewindmills
d9ecf2a9ca
Standardize the health probe and metrics arguments of descheduler
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-27 14:32:00 +08:00
Anuj Agrawal
ed82127cbc
Added tests for operator/pkg/controller/context
...
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-24 23:10:35 +05:30
karmada-bot
04c384444f
Merge pull request #5185 from jabellard/custom_crd_url2
...
Custom CRD Download Strategy Support for Karmada Operator
2024-08-09 11:57:29 +08: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
Michael Grosser
f4df03f6e0
add karmada.io/system label to created clusterrole+bindings
...
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-31 18:46:21 -07:00
Michael Grosser
afc1e5fc89
relabel webhooks to make it obvious they belong to karmada
...
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-24 19:45:52 -07:00
karmada-bot
871e2bffe2
Merge pull request #5174 from whitewindmills/operator-options
...
Add missing command line arguments for karmada-operator
2024-07-18 16:48:10 +08:00
whitewindmills
a9853d067e
Add missing command line arguments for karmada-operator
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-18 15:51:02 +08:00
Lan Liang
70cb862478
Update karmada-apiserve and kube-controller-manager to v1.29.6 by default.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-07-16 14:01:19 +00:00
RainbowMango
448b967421
Update crd gen
...
update swagger
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-13 16:48:51 +08:00
RainbowMango
f2b37a43a3
Unify column names and add missing age column
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-04 18:15:37 +08:00
renxiangyu_yewu
11f8fe3161
Improve code reusability
...
Signed-off-by: renxiangyu_yewu <renxiangyu_yewu@cmss.chinamobile.com>
2024-07-03 17:59:29 +08:00
chaosi-zju
b889d26c32
silence the 'log.SetLogger(...) was never called' error
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-06-27 14:33:48 +08:00
zhzhuang-zju
acdd2115c6
Adding TLS Certificate Authentication to gRPC
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-06-21 15:56:20 +08:00
Lan Liang
c8524d0d78
Update karmada-apiserve and kube-controller-manager to v1.28.9 by default.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-06-19 08:38:01 +00:00
Lan Liang
ed0f26c328
cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
...
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.
See kubernetes/utils#283 for details.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
Lan Liang
5a4539d404
migrate wait.PollImmediate to wait.PollUntilContextTimeout.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-22 05:51:49 +00:00
karmada-bot
2ddebf1c64
Merge pull request #4960 from chaosi-zju/files
...
cleanup: grant the correct permissions when creating a file
2024-05-22 09:36:18 +08:00
chaosi-zju
472da38a6c
cleanup: grant the correct permissions when creating a file
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 09:30:38 +08:00
chaosi-zju
dee30c821b
upgrade rsa key size from 2048 to 3072
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 09:18:30 +08:00
chaosi-zju
be3874a938
cleanup: replace text/template with html/template
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-17 15:37:55 +08:00
zhzhuang-zju
309c67701b
bump golangci to v1.58.0
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
RainbowMango
d4b610cad6
fix lint issues
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
RainbowMango
8cf31bfc37
Adopt Kubernetes #121390 : remove etcd page
...
Adopt Kubernetes #118653 , introduce VolumeResourceRequirements
Remove APIPriorityAndFairness feature gates from
karmada-aggregated-apiserver.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
RainbowMango
e5d05149ae
Bump Kubernetes dependencies to v1.29.4
...
Update custom-metrics-apiserver to latest
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00