Zhiwei Yin
353a850f8d
✨ Cherry pick enable-sync-lables to 0.13 ( #515 )
...
* sync labels from klusterlet to all agent resources (#475 )
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
* add enable-sync-labels flag to klusterlet operator (#505 )
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
* fix issue that pull secret and ns are synced labels when enable-sync-labels is disabled (#511 )
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
---------
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-06-13 08:34:57 +00:00
Jian Qiu
a43f0de4ab
avoid cluster auto approve failed occasionally ( #388 ) ( #395 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Co-authored-by: Wei Liu <liuweixa@redhat.com >
2024-04-08 02:09:37 +00:00
Jian Qiu
8b1a2a0b95
update the addon-framework and getSpechHash algorithm ( #371 ) ( #394 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
Co-authored-by: Qing Hao <qhao@redhat.com >
2024-04-07 08:14:23 +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
Wei Liu
4ab47cf73d
update sdk-go to update work clients mqtt topics ( #356 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-01-29 08:00:29 +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
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
320b73c895
Fix: move enable ReplicaSet controller at the beginning. ( #343 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-01-12 02:52:23 +00:00
Qing Hao
40135fd4ba
addon support rollout configs ( #340 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-01-08 05:49:06 +00:00
Jian Qiu
976019dd43
🐛 Requeue for rolling strategy in mwrs ( #337 )
...
* Requeue for rolling strategy in mwrs
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add more integration test for rolling
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-01-04 09:55:20 +00:00
Wei Liu
d2324b8581
supporting cloudevents for work agent ( #321 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2023-12-07 05:16:59 +00:00
xuezhaojun
5884bc5c21
Add clock sync condition controller. ( #312 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-12-05 02:05:36 +00:00
Jian Qiu
f89d535ff3
skip namespace in resourceMeta for cluster scoped resource ( #324 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-11-29 07:31:31 +00:00
xuezhaojun
a46086d819
Removal v1beta1 webhook. ( #316 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-11-23 08:06:19 +00:00
Jian Zhu
6571a8a4d9
✨ Support setting manifest work config by addon template ( #308 )
...
* ✨ Support setting manifest work config by addon template
Signed-off-by: zhujian <jiazhu@redhat.com >
* add unit tests
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-11-20 14:09:38 +00:00
Mohamed ElSerngawy
615f5a4441
Update OCM APIs and apply Rollout strategy API changes ( #310 )
...
Signed-off-by: melserngawy <melserng@redhat.com >
2023-11-16 02:36:16 +00:00
Mohamed ElSerngawy
35680c3ca3
✨ Implement ManifestWorkReplicaSet RollOut strategy ( #259 )
...
* Implement rollout strategy
Signed-off-by: melserngawy <melserng@redhat.com >
* Update API and new logic
Signed-off-by: melserngawy <melserng@redhat.com >
---------
Signed-off-by: melserngawy <melserng@redhat.com >
2023-11-02 03:08:35 +00:00
Zhiwei Yin
f003ed38a5
refactor gc controller ( #229 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2023-10-23 07:05:35 +00:00
Yang Le
9aaa1327fa
🐛 move the rebootstrap logic to registration agent ( #267 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2023-10-18 09:58:06 +00:00
Zhiwei Yin
5903140f38
bump csv to 0.13.0 ( #290 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2023-10-10 02:17:24 +00:00
Jian Zhu
75db27dd61
set work agent status-sync-interval when the replica is 1 ( #282 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-09-24 22:21:37 -04:00
Jian Zhu
e6443b6523
Update permission config in addontemplate ( #285 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-09-21 22:08:17 -04:00
Qing Hao
c8410bfbf1
addon consume rollout helpers ( #225 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-09-20 04:17:48 +02:00
Jian Qiu
bd4982fffc
Fix: change singleton agent sa to work sa ( #279 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-09-15 10:01:14 +02:00
Jian Zhu
90c1dcb5bc
set agent install namespace from addon deployment config for template type addons ( #266 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-09-12 09:42:06 +02:00
Dale Haiducek
3fc013f921
Match registration image exactly ( #273 )
...
Since the registration image string is a substring of the
registration-operator image, it wasn't being updated correctly.
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com >
2023-09-11 03:17:12 +02:00
Jian Zhu
e0d1ad384c
bump golangci-lint to v1.54.2 ( #270 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-09-07 15:55:12 +02:00
Jian Qiu
404680d302
✨ support singleton in hosted mode ( #258 )
...
* delete old agent when switch to singleton mode
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* run singleton hosted mode
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Sync sa on spoke as external-agent-kubeconfig
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-09-07 03:33:17 +02:00
Jian Qiu
e297899a3c
Remove old agent when upgrade to singleton ( #263 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-09-04 11:07:38 +02:00
Yang Le
ac142e6478
✨ support proxy between hub cluster and managed cluster ( #260 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2023-09-01 05:52:58 +02:00
Qing Hao
c625fd317a
🌱 remove ClusterSet ClusterSetBinding API version v1beta1 ( #257 )
...
* update api
Signed-off-by: haoqing0110 <qhao@redhat.com >
* remove webhook
Signed-off-by: haoqing0110 <qhao@redhat.com >
* remove migration files
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update api
Signed-off-by: haoqing0110 <qhao@redhat.com >
* add ut for migrationRequestFiles
Signed-off-by: haoqing0110 <qhao@redhat.com >
---------
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-08-31 16:14:11 +02:00
Qing Hao
a2b3c6d54c
revert placement decision start index from 1 to keep backward compatibility ( #253 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-08-23 03:45:27 -02:30
Jian Qiu
88f6f4dd17
Refactor code to start managers with shared informers ( #232 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-08-21 00:03:58 -02:30
Yang Le
8080e5dc3b
🐛 fix the rebootstrap issue ( #249 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2023-08-14 23:07:33 -02:30
Jian Qiu
3167826df9
Use finalizer in api repo ( #241 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-08-04 11:54:55 +02:00
Yang Le
6d6a6f1d74
🌱 upgrade addondeploymentconfigs crd to latest version ( #243 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2023-08-03 09:56:39 +02:00
Jian Zhu
a9dae607f6
✨ Support override addon images by the cluster's annotation ( #231 )
...
* ✨ Support override addon images by the cluster's annotation
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add tests for addon image override
Signed-off-by: zhujian <jiazhu@redhat.com >
* upgrade ocm api
Signed-off-by: zhujian <jiazhu@redhat.com >
* refactor integration tests
Signed-off-by: zhujian <jiazhu@redhat.com >
* Upgrade addon framework to watch cluster when deploy addon agent
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-08-03 08:57:05 +02:00
xuezhaojun
142fd5b247
Add ClusterAnnotations support. ( #234 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-07-27 04:31:25 +02:00
Jian Qiu
e810520961
🌱 Refactor code to fix lint warning ( #218 )
...
* Refactor code to fix lint warning
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* enable lint for testing files
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-25 07:12:34 +02:00
Qing Hao
5c03624912
divide pre-defined decision groups by length ( #227 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-07-21 10:34:21 +02:00
Jian Zhu
8d974c2df8
🐛 Failed to sync sa work-controller-sa in cluster manger hosted mode ( #223 )
...
* Failed to sync sa work-controller-sa in cluster manger hosted mode
Signed-off-by: zhujian <jiazhu@redhat.com >
* add secret addon-manager-controller-sa-kubeconfig getting permission
Signed-off-by: zhujian <jiazhu@redhat.com >
* add tests for hosted mode work controller
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-07-17 04:45:48 +02:00
Jian Zhu
9ff0948184
enable addon management feature gate by default ( #222 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-07-14 09:45:35 +02:00
Jian Qiu
f7cd1402e9
✨ run work and registration as a single binary ( #201 )
...
* run registratin/work together
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix integration test and lint issue
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update operator to deploy singleton mode
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update deps
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-14 04:56:48 +02:00
Qing Hao
320098e78a
update placement integration testing code with patcher ( #217 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-07-12 05:44:44 -04:00
Qing Hao
66498342dd
🌱 placement support decision groups ( #200 )
...
* placement support decision groups
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update decision generation flow
Signed-off-by: haoqing0110 <qhao@redhat.com >
* fix label update issue
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update decision group logic
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update placement and decision with patcher
Signed-off-by: haoqing0110 <qhao@redhat.com >
* modify code based on review comments
Signed-off-by: haoqing0110 <qhao@redhat.com >
---------
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-07-10 09:46:23 -04:00
Jian Qiu
c8ec75096d
Reduce e2e process time ( #210 )
...
for work and addon e2e, we do not need to
restart klusterlet for each case
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-06 00:19:50 -04:00
Jian Zhu
21ee8d4c88
use DeploymentAvailability to check addon health ( #212 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-07-05 10:25:55 -04:00
Jian Zhu
40bc557c47
🐛 make the custom sign ca secret namespace fixed ( #205 )
...
* update vendor ocm api
Signed-off-by: zhujian <jiazhu@redhat.com >
* make the custom sign ca secret name fixed
Signed-off-by: zhujian <jiazhu@redhat.com >
* make the custom sign ca secret namespace fixed
Signed-off-by: zhujian <jiazhu@redhat.com >
* format go import for test files
Signed-off-by: zhujian <jiazhu@redhat.com >
* update vendor ocm api
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-07-04 00:01:23 -04:00