Commit Graph

1381 Commits

Author SHA1 Message Date
Yang Le
29ffff020f 📖 add a solution to join cluster through proxy server (#311)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-11-13 01:28:10 +00:00
Yang Le
fb940bb9f4 🐛 fix the wrong endpoint issue of the multiple hubs hosted solution (#309)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-11-08 08:25:15 +00:00
Jian Zhu
3882b1da77 Add fossa license scanning badge (#306)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-11-02 07:25:03 +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
Yang Le
370dbba05c 📖 add solutions of multiple hubs (#304)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-11-02 01:34:01 +00:00
StepSecurity Bot
05f1a2cdb5 [StepSecurity] ci: Harden GitHub Actions (#305)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2023-10-31 07:41:13 +00:00
Jian Zhu
7266b5c65f Add open ssf scorecard badge (#303)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-10-31 04:05:18 +00:00
Jian Zhu
49ffc369f8 Use ossf score card (#302)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-10-31 01:04:45 +00:00
Jian Zhu
c4bfa0814a Add artifact hub badges (#300)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-10-27 16:18:49 +00:00
Yang Le
0f7da4a9bb 🐛 upgrade addondeploymentconfigs to include proxy ca bundle (#299)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-10-27 06:50:33 +00:00
Qing Hao
2f4ff9f424 🌱 add metrics for placement (#297)
* add metrics for placement

Signed-off-by: haoqing0110 <qhao@redhat.com>

* record plugin metrics in schedule()

Signed-off-by: haoqing0110 <qhao@redhat.com>

* add plugin type

Signed-off-by: haoqing0110 <qhao@redhat.com>

---------

Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-10-26 06:44:59 +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
Qing Hao
495e4cb7b7 upgrade addon rollout library (#288)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-10-09 07:00:56 +00:00
Jian Qiu
b88a0e9210 Fix release image manifest error (#289)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
v0.12.0
2023-10-08 07:36:12 +00:00
Jian Qiu
80d4daacc4 Upgrade addon-framework library to 0.8.0 (#287)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-10-07 02:40:02 +00:00
Jian Qiu
5405099cb5 Upgrade api to v0.12.0 (#286)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-25 11:43:39 -04: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
Zhiwei Yin
769272cbec fix failed update roleRef in clusterrolebinding in upgrade case (#284)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-09-20 23:16:06 -04:00
Jian Qiu
fe9ecd7011 Add release action (#283)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-20 08:53:27 +02:00
Qing Hao
c8410bfbf1 addon consume rollout helpers (#225)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-09-20 04:17:48 +02:00
Zhiwei Yin
b6f535f6d1 fix work sa name in old kube cluster (#281)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-09-18 11:55:16 +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
fda6514ba6 delete klusterlet if the managed cluster refused the connection (#278)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-09-14 05:05:34 +02:00
Zhiwei Yin
301ef236c3 add POD_NAME for event refobject (#276)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-09-14 04:52:34 +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
Yang Le
1f51d8c6bc 🐛 fix the AlreadyExists logic case if the manifest is not cached by Getter when applying a manifest (#275)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-09-11 11:47:48 +02:00
Jian Qiu
d5e10c664d remove deps to k8s.io/kubernetes (#274)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-11 10:32:36 +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
Morven Cao
1a4948044c update istio version. (#272)
Signed-off-by: morvencao <lcao@redhat.com>
2023-09-08 15:05:56 +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
Yang Le
7adf6ee1bc 🐛 correct the agent deployment name in different install mode (#265)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-09-05 05:34:36 +02:00
Qing Hao
31f9059fb9 fix make verify error (#264)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-09-05 03:53:41 +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
Jian Qiu
0f16de9f7d move patch routine to copy crd (#261)
This can avoid redudant file generated in _output

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-04 10:27:07 +02:00
Zhiwei Yin
8b4abc7459 update pod securitycontext and upgrade operator sdk version (#262)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-09-04 07:00:26 +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
Nitish Chauhan
36e389cc07 adding contextual logging in placement component (#254)
Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com>
2023-08-24 21:19:17 -04:00
Nitish Chauhan
9dd935b525 adding contextual logging in addon pkg (#255)
Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com>
2023-08-24 04:29:59 -04: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
Zhiwei Yin
4227c8f68c Revert "Fix PodSecurity Warnings (#250)" (#252)
This reverts commit ecc541d186.

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-08-21 00:58:12 -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
Zhiwei Yin
ecc541d186 Fix PodSecurity Warnings (#250)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-08-17 06:00:46 -02:30
Yang Le
f444b340c8 🐛 add wlp annotation if necessary (#248)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-08-16 22:55:27 -02:30
Yang Le
8b351747c8 🐛 set tls min version to 1.2 (#245)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-08-15 06:34:56 -02:30
Yang Le
fb6ce75eae 🐛 skip sync of appliedmanifestwork if work is not applied yet (#244)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-08-15 02:36:15 -02:30