Commit Graph

100 Commits

Author SHA1 Message Date
Zhiwei Yin
7946f87945 support set imagepullsecret credential in helm chart and run e2e using helm chart (#605)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-08-29 12:32:43 +00:00
Zhiwei Yin
bf0dc3fc66 add helm charts (#548)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-07-10 15:24:10 +00:00
Jian Qiu
2582ad922d Update deps to 1.30 (#546)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2024-07-02 14:04:15 +00:00
Zhiwei Yin
aaf9e70c60 the released operator catalog bundles are moved into release branch (#539)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-06-25 01:54:40 +00:00
Zhiwei Yin
237baa1af4 bump to 0.13.3 (#529)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-06-19 07:31:39 +00:00
Zhiwei Yin
3f304e8e11 bump csv to 0.13.2 (#447)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-04-28 01:45:30 +00:00
Zhiwei Yin
ca89a00a0e release 0.13.1 csv bundle (#416)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-04-11 01:39:23 +00:00
Zhiwei Yin
27de904495 bump csv to 0.14 (#365)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-03-06 01:40:19 +00:00
haowells
fd06d926b1 operator sdk support arm64 (#319)
Signed-off-by: haolin <haowells@gmail.com>
2023-11-27 06:51:11 +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
e0d1ad384c bump golangci-lint to v1.54.2 (#270)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-09-07 15:55:12 +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
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
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
Zhiwei Yin
ecc541d186 Fix PodSecurity Warnings (#250)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-08-17 06:00:46 -02:30
xuezhaojun
70d61123a6 Add update-csv when make update (#238)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-07-27 03:03:16 +02: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
Qing Hao
de2b7d35be generalize cluster selector method (#204)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-06-29 15:11:56 +02:00
Jian Zhu
a78d9f457d 🌱 Move addon manager from addon-framework to ocm repo (#196)
* update vendor to add addon-framework

Signed-off-by: zhujian <jiazhu@redhat.com>

* Move addon manager from addon-framework to ocm repo

Signed-off-by: zhujian <jiazhu@redhat.com>

* add integration tests for addon manager

Signed-off-by: zhujian <jiazhu@redhat.com>

* push addon manager image post commit

Signed-off-by: zhujian <jiazhu@redhat.com>

* use library-go to refactor addon controllers

Signed-off-by: zhujian <jiazhu@redhat.com>

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-06-27 03:59:54 +02:00
Jian Qiu
53890594c3 🌱 Use patcher in operator to replace previous update (#181)
* Use patcher in operator to replace previous update

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Fix test error

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Fix permission in csv

Signed-off-by: Jian Qiu <jqiu@redhat.com>

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-18 20:43:36 -04:00
Wei Liu
ecfb6c0888 merge the cluster capacity (#184)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2023-06-14 11:03:43 -04:00
Jian Zhu
023cdfd0c3 🌱 Update api to install addon template CRD (#170)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-06-14 02:26:35 -04:00
Jian Zhu
d3d648283e 🌱 Configure the golangci lint (#180)
* 🌱 Configure the golangci lint

Signed-off-by: zhujian <jiazhu@redhat.com>

* 🌱 Fix lint issues

Signed-off-by: zhujian <jiazhu@redhat.com>

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-06-13 03:51:48 -04:00
Jian Zhu
7332a585c0 🌱 add a verify rule for golang files import order (#177)
* 🌱 add a verify rule for golang files import order

This PR uses the [gci tool](https://github.com/daixiang0/gci) to make all go files' import section with a specific order, it will organize import with group with order:
1. standard library modules
2. 3rd party modules
3. modules in OCM org, like the `open-cluster-management.io/api`
4. current project `open-cluster-management.io/ocm` modules

developers can use the `make fmt-imports` to format the import automatically and the `make verify-fmt-imports` to check for any violation.

Signed-off-by: zhujian <jiazhu@redhat.com>

* 🌱 format the go files import

Signed-off-by: zhujian <jiazhu@redhat.com>

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-06-12 10:23:04 -04:00
Jian Qiu
62efbf935b Build common options for agent (#163)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-08 02:55:43 -04:00
xuezhaojun
652bf923f4 Add: codecov configuration. (#166)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-06-06 04:22:08 -04:00
Jian Qiu
95aa3b1a06 Move operator e2e (#156)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-31 07:09:42 -04:00
Jian Qiu
3d6b001b0f Use image builder to build image (#154)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-31 03:49:35 -04:00
Jian Qiu
8a05d4b030 Refactore integration test (#150)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-31 02:34:06 -04:00
xuezhaojun
ad38b9465f Relocate pkgs. (#146)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-29 07:20:55 -04:00
xuezhaojun
2fc048a096 Setup images build and github actions(without release).
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:43:57 +08:00
xuezhaojun
ce598a00ef relocate to staging: registration-operator
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:39:38 +08:00
Zhiwei Yin
a9b50c6def bump to 0.12.0 (#356)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-05-24 22:41:55 -04:00
xuezhaojun
a702559281 Add gosec in verify process. (#347)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-04-18 22:15:25 -04:00
Qing Hao
ee0a60f013 addon manager feature gates (#325)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-03-02 09:29:14 +01:00
Zhiwei Yin
207844bddd bump v0.11.0 (#320)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-02-17 02:30:46 -05:00
Matt Prahl
8033805662 Allow customizing the klusterlet name when deploying in hosted mode (#311)
This will allow users of this Makefile to deploy multiple managed
clusters in hosted mode.

Signed-off-by: mprahl <mprahl@users.noreply.github.com>

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
2023-01-18 09:10:22 -05:00
Wei Liu
3d591bb11b update clustermanangementaddon api (#300)
Signed-off-by: Wei Liu <liuweixa@redhat.com>

Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-11-08 03:28:26 -05:00
Jian Zhu
432fac3616 Remove install mode detached (#282)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-10-17 05:43:34 -04:00
DangPeng Liu
6bf6df2f2c add conversion webhook (#279)
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
2022-10-14 00:19:30 -04:00
Matt Prahl
4306b7849a Use the correct managed cluster name in the apply-spoke-cr-hosted target (#266)
Signed-off-by: mprahl <mprahl@users.noreply.github.com>

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
2022-08-30 09:41:05 -04:00
Zhiwei Yin
b14e41788a upgrade go lib to the latest version and bump csv to 0.9.0 (#265)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-07-26 02:42:46 +02:00
xuezhaojun
11efeb18b5 Add goci lint. (#243)
* Add goci lint.

Signed-off-by: xuezhaojun <zxue@redhat.com>

* handle errs and remove unused.

Signed-off-by: xuezhaojun <zxue@redhat.com>

* fix fail and remove unused code.

Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-05-10 02:50:42 -04:00
Min Kim
796062f0c5 passing IMAGE_TAG to make images (#239)
Signed-off-by: yue9944882 <291271447@qq.com>
2022-04-26 23:33:46 -04:00
Zhiwei Yin
dafd1b5c47 bump csv to 0.8.0 (#226)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-03-28 12:35:49 +02:00
xuezhaojun
7aa41cda65 Add hosted mode in klusterlet (#220)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-03-15 05:03:53 -04:00
xuezhaojun
84e12c9197 Change to hosted mode in cluster-manager (#219)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-03-15 01:11:52 -04:00
Dale Haiducek
cb5edd0222 Allow clusterName to be configurable (#211)
Signed-off-by: Dale Haiducek <dhaiduce@redhat.com>
2022-03-03 18:48:52 -05:00
xuezhaojun
00fcdcd30a add detached mode to cluster-manager controller (#190)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-02-24 07:57:40 -05:00