Rokibul Hasan
4e9859b0b6
🐛 Fix "log.SetLogger(...) was never called" in wrok-webhook ( #489 )
...
* Fix "log.SetLogger(...) was never called" in wrok-webhook
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com >
* Move logger to the beginning of the func
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com >
* Run make fmt-imports
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com >
---------
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com >
2024-06-03 01:48:52 +00:00
Rokibul Hasan
b545546a7b
🐛 Fix "log.SetLogger(...) was never called" in registration webhook ( #488 )
...
* Fix "log.SetLogger(...) was never called" in registration webhook
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com >
* Move logger to the beginning of the func
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com >
---------
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com >
2024-06-03 01:43:22 +00:00
xuezhao
c61895ca6b
Add event when stop creating CSR too many. ( #482 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-05-30 01:45:52 +00:00
Jian Zhu
468fdc0476
Exclude terminating clusters from Placementdecision ( #480 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-05-29 01:45:08 +00:00
Jian Zhu
66d4e782ec
🐛 Regenerate the hub kubeconfig secret if the cluster name of the current context changes ( #473 )
...
* Regenerate the hub kubeconfig secret if the cluster name of the current context changes
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add an integration test
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-05-23 14:31:09 +00:00
DONG BEIQING
22da639109
✨ configurable controller replicas and master node selector ( #468 )
...
* configurable controller replicas and master node selector
Signed-off-by: Dong Beiqing <350758787@qq.com >
* run make fmt-imports
Signed-off-by: Dong Beiqing <350758787@qq.com >
* shorter lines
Signed-off-by: Dong Beiqing <350758787@qq.com >
* rename ControllerReplicas to DeploymentReplicas
Signed-off-by: Dong Beiqing <350758787@qq.com >
* rename masterNodeLabelSelectors to controlPlaneNodeLabels
Signed-off-by: Dong Beiqing <350758787@qq.com >
* rename controlPlaneNodeLabels to controlPlaneNodeLabelSelector
Signed-off-by: Dong Beiqing <350758787@qq.com >
---------
Signed-off-by: Dong Beiqing <350758787@qq.com >
2024-05-21 10:30:38 +00:00
Jian Zhu
df3b290dc5
Handle hosted mode addons in addon progressing controller ( #464 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-05-16 01:56:57 +00:00
Zhiwei Yin
319d9af8a1
igonre failed to get pullsecret error ( #463 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-05-15 06:53:26 +00:00
Jian Zhu
fd65f371d6
Only decorate namespace for namespaced resources ( #462 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-05-15 02:01:56 +00:00
Jian Zhu
5313ff714e
Refresh external managed token secret if service account ns changes ( #458 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-05-14 07:11:37 +00:00
Jian Qiu
a31ee084a7
Always create default addon namespace ( #457 )
...
The addon namespace should always be default on.
The operator will not create addon ns based
on klusterlet install namespace.
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-05-14 07:08:53 +00:00
Chunlin Yang
4117a4b302
✨ upgrade sdk to support Kafka as a cloudevents driver ( #460 )
...
* upgrade sdk to support Kafka as a cloudevents driver
Signed-off-by: clyang82 <chuyang@redhat.com >
* fix format issue
Signed-off-by: clyang82 <chuyang@redhat.com >
---------
Signed-off-by: clyang82 <chuyang@redhat.com >
2024-05-14 02:03:34 +00:00
Yang Le
4e2918120c
🌱 honor the settings of AppliedManifestWorkEvictionGracePeriod in Klusterlet API ( #454 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2024-05-13 08:36:53 +00:00
Zhiwei Yin
e4202ddadb
failed sync image stop other reconciler ( #456 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-05-13 07:22:37 +00:00
Zhiwei Yin
f44670d314
update provider name ( #453 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-05-09 22:54:56 +00:00
Jian Zhu
c749b42ca0
✨ Send available condition events for managed cluster ( #450 )
...
* Send available condition events for managed cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* Send available condition events for managed cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* Rename event reporting component
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-05-06 07:00:36 +00:00
Jian Qiu
5fc1dbdce7
🐛 Remove old ns when klusterlet ns is changed ( #442 )
...
* Remove old ns when klusterlet ns is changed
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Resolve comments
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-05-06 03:15:48 +00:00
Zhiwei Yin
2636009a52
Add image pullSecret to hub controllers ( #397 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-04-28 07:18:14 +00:00
Wei Liu
147f40c363
Revert "upgrade sdk to support Kafka ( #436 )" ( #446 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-04-26 07:16:17 +00:00
Wei Liu
0882f6d058
upgrade sdk to support Kafka ( #436 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-04-25 04:23:21 +00:00
Morven Cao
7154863106
✨ support work driver config for cluster manager. ( #381 )
...
* support work driver config for cluster manager.
Signed-off-by: morvencao <lcao@redhat.com >
* address comments.
Signed-off-by: morvencao <lcao@redhat.com >
---------
Signed-off-by: morvencao <lcao@redhat.com >
2024-04-24 08:33:13 +00:00
Jian Qiu
08cfa4f20d
Set name of namespace in namespace decorator ( #440 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-04-24 06:37:39 +00:00
Jian Zhu
fe6e75fc0d
Refactor template addon get values func ( #438 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-04-23 02:02:47 +00:00
Jian Qiu
a7adf5d517
✨ Set install namespace of addonTemplate from config ( #417 )
...
* Set install namespace of addonTemplate from config
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add an e2e test case
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-04-22 08:32:44 +00:00
Morven Cao
5f1ec4031f
update addon manager. ( #434 )
...
Signed-off-by: morvencao <lcao@redhat.com >
2024-04-22 02:12:29 +00:00
xuezhao
dee7f10633
Add default values for workloadsourcedriver and worksourceloadconfig. ( #432 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-04-22 01:53:15 +00:00
xuezhao
eba3d9670b
Refactor Lease controller test cases. ( #435 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-04-22 01:50:29 +00:00
Jian Qiu
37693a4c58
Get default registration namespace from template manifest ( #427 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-04-17 09:42:28 +00:00
Zhiwei Yin
f413220b56
refactor constants in operator ( #421 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-04-15 04:59:31 +00:00
Jian Qiu
3a2250d974
Refactor NewUnstructured method ( #418 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-04-11 12:01:07 +00:00
Jian Zhu
917539a129
🐛 Set a fixed agent name for the template type addon ( #413 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-04-10 13:20:38 +00:00
Wei Liu
fd2d0eb16e
avoid cluster auto approve failed occasionally ( #388 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-04-07 03:44:54 +00:00
Qing Hao
ff77abd312
upgrade addon-framework ( #383 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-03-28 03:15:15 +00:00
Qing Hao
22501d88f7
🌱 set cma managed by addon-manager if not configured ( #374 )
...
* set cma managed by addon-manager if not configured
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update annotation in testing case
Signed-off-by: haoqing0110 <qhao@redhat.com >
* rename controller name
Signed-off-by: haoqing0110 <qhao@redhat.com >
---------
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-03-25 04:42:58 +00:00
Matt Prahl
2cd6a6fb99
Fix the valid client certificate check ( #378 )
...
The commit edef33de92 introduced
additional checks on the certificate subject. The issue is that the
order of the groups and organizational units are not consistent, so it
was causing the addon-framework to generate several CSRs with many
coming back as invalid.
This takes the approach of sorting the strings before doing the
comparison.
Signed-off-by: mprahl <mprahl@users.noreply.github.com >
2024-03-15 15:51:36 +00:00
xuezhao
edef33de92
Retrigger CSR when subject org and ou doesn't match. ( #377 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-03-14 08:44:16 +00:00
Qing Hao
b4bf3d0609
update the addon-framework and getSpechHash algorithm ( #371 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-03-12 07:46:27 +00:00
Wei Liu
b1b734aa7a
support cloudevents for manifestworkreplicaset ( #352 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-03-06 13:17:22 +00:00
Jian Qiu
92d4f86837
Add a flag for work agent to set raw json length ( #366 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-03-06 03:52:16 +00:00
Jian Qiu
1c3cb033b0
Bump ocm/api to v0.13.0 ( #361 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-02-21 08:51:34 +00:00
Yang Le
c5e210af0c
✨ support configuration of the agent priorityclass ( #358 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2024-02-08 06:23:23 +00:00
DONG BEIQING
5b9b566f15
✨ Configurable qos resources for containers managed by cluster-manager and klusterlet ( #351 )
...
* configurable qos resources for containers managed by cluster-manager and klusterlet
Signed-off-by: Dong Beiqing <350758787@qq.com >
* run make fmt-imports
Signed-off-by: Dong Beiqing <350758787@qq.com >
---------
Signed-off-by: Dong Beiqing <350758787@qq.com >
2024-01-23 09:41:52 +00:00
Jian Qiu
c04ab368de
Bump api and addon-framework deps ( #354 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-01-23 07:40:26 +00:00
Jian Qiu
6cfce8ce24
Revert apply func ( #353 )
...
this part dep on library-go so remove from
sdk-go
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-01-22 03:46:46 +00:00
Jian Qiu
bede3edd92
Switch to patcher in sdk-go ( #349 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-01-22 02:04:49 +00:00
Jian Zhu
5d99f4bf50
Check the template type addon status immediately when the cluster status changes ( #350 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-01-22 01:20:48 +00:00
Wei Liu
889ebf2dee
Switch to sdk-go for cloudevents ( #347 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-01-18 03:09:13 +00:00
Zhiwei Yin
8bd99799e4
configure QPS and Burst for the flags of klusterlet agents ( #344 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-01-18 01:35:58 +00:00
Jian Qiu
1d42f4285e
Switch to sdk-go for helper functions ( #346 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-01-17 14:28:54 +00:00
xuezhaojun
4b6e12a2f1
Fix: using ownerRef to control the removal of storageversionmigrations. ( #342 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-01-10 02:47:08 +00:00