Commit Graph

354 Commits

Author SHA1 Message Date
Jian Qiu
922fca0015 fix workdir issue for image action (#230)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-04-07 06:35:30 -04:00
Jian Qiu
83aabb4256 Fix make images targe in post submit (#228)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-04-07 05:33:31 -04:00
Jian Qiu
927a8b92ce Support multi arch image (#227)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-04-07 04:51:30 -04:00
Wei Liu
12bef6bb91 reduce the get request for managed cluster when checking managed cluster lease status (#226)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-04-07 02:13:34 -04:00
Jian Qiu
9279f318d7 Reduce queue size and add filter for csr informer (#223)
1. always return single key to queue so it will not blow up the queue
2. add filter for csr informer

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-04-06 21:31:29 -04:00
Yang Le
eb0daa24ac allow ManagedCluster creation with taint.timeAdded specified (#224)
Signed-off-by: Yang Le <yangle@redhat.com>
2022-04-06 08:22:53 -04:00
DangPeng Liu
560310e8af set clusterset to default when value is null string (#222)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-04-06 03:54:57 -04:00
Wei Liu
59d2cd6a3e add v0.7 changelog (#220)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-03-24 08:15:23 +01:00
Jian Qiu
69129afb57 Avoid building latest image in release branch (#218)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-03-23 10:46:18 +01:00
Min Kim
892a6ea782 V1beta1 CSR compatibility (#214)
* [generated] go mod tidy/vendor

Signed-off-by: yue9944882 <291271447@qq.com>

* feature-gate: V1beta1CSRAPICompatibility

Signed-off-by: yue9944882 <291271447@qq.com>
2022-03-23 04:41:00 +01:00
Jian Qiu
ed90432837 Disable apf in webhook (#215)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-03-23 02:33:35 +01:00
JiaHao Wei
65606b7c29 add taints e2e test (#212)
Signed-off-by: JiaHao Wei <1335649406@qq.com>
2022-03-22 11:16:26 +01:00
Min Kim
a86fa506c9 chore: suppressing log verbosity for test log clarity (#216)
Signed-off-by: yue9944882 <291271447@qq.com>
2022-03-22 10:59:32 +01:00
Yuchen YAO
20f60635e9 enable feature gates (#213)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-03-22 09:35:24 +01:00
Yuchen YAO
0ce5210162 add disable annotation detection for default managed cluster set, ensuring users have property to modify default managed cluster set spec. (#210)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-03-10 22:22:16 -05:00
DangPeng Liu
41c81be5f2 fix override cluster labels (#209)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-03-07 01:28:48 -05:00
DangPeng Liu
9b07f772c1 remove unused code (#207)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-03-03 01:06:28 -05:00
Yuchen YAO
9d006722d8 add a controller to set default clusterset label for managedcluster which not set clusterset label (#202)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-03-02 22:20:32 -05:00
DangPeng Liu
b8a1f9d676 set default in webhook (#205)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-03-02 11:06:28 -05:00
Yang Le
62e8879e5b update clusterset contoller to ignore non-legacy clusterset (#206)
Signed-off-by: Yang Le <yangle@redhat.com>
2022-03-02 05:38:24 -05:00
Yuchen YAO
92178adbec add-default-managedclusterset-controller (#198)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-03-02 02:50:22 -05:00
Jian Qiu
f3b18aa211 Add hub freature flags (#204)
Also fix some lint issue

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-03-01 01:51:17 -05:00
xuezhaojun
832e296a2f Update generic addmission server to support run webhook locally (#200)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-02-20 20:37:32 -05:00
Yang Le
61dea84ea6 trigger a new build (#199)
Signed-off-by: Yang Le <yangle@redhat.com>
2022-02-16 03:32:54 -05:00
JiaHao Wei
acf2ee2cfc add taints controller (#188)
Signed-off-by: JiaHao Wei <1335649406@qq.com>
2022-01-26 00:38:40 -05:00
xuezhaojun
a9ee5e431f support run webhook server outside of cluster (#196)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-01-24 01:46:09 -05:00
Wei Liu
3df450099a add v0.6 chanage log (#197)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-01-20 02:29:26 -05:00
Wei Liu
dd4bf2558a add a link for LICENSE (#194)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-01-19 04:48:59 -05:00
Jian Qiu
4494da664e Update builder image (#191)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-01-18 01:24:05 -05:00
Jian Qiu
983391ba01 Add leader election flag (#193)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-01-17 22:16:05 -05:00
Jian Qiu
3d5b61375f Update cache implementation and remove logic for rbac update (#192)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-01-17 06:35:16 +01:00
Yang Le
ffbb2b9744 enhance webhook to set the value of taint timeAdded (#186)
Signed-off-by: Yang Le <yangle@redhat.com>
2022-01-12 02:54:07 +01:00
Jian Qiu
751c36b6f9 update library and refactor integration test (#189)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-01-06 03:48:36 +01:00
Min Kim
6331fe4629 Skipping customized health check (#187)
* skipping customized health check

Signed-off-by: yue9944882 <291271447@qq.com>

* bump ocm api dep

Signed-off-by: yue9944882 <291271447@qq.com>

* fixes integration test flakiness

Signed-off-by: yue9944882 <291271447@qq.com>
2021-12-30 13:18:10 +01:00
champly
3afdcac894 fix lease interval value set (#184)
* fix lease interval value set

Signed-off-by: champly <champly@outlook.com>

* remove managedcluster leasedurationsecondes value set

Signed-off-by: champly <champly@outlook.com>
2021-12-09 02:36:16 +00:00
Jian Zhu
e5722d507f support run spoke agent outside of managed cluster (#175)
* support run spoke agent outside of managed cluster

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

* define the management cluster

Signed-off-by: zhujian <jiazhu@redhat.com>
2021-12-08 02:08:20 +00:00
Jian Zhu
c849951f90 deploy control plane and agent in two clusters (#182)
* deploy control plane and agent in two clusters

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

* change the default spoke component namespace

Signed-off-by: zhujian <jiazhu@redhat.com>
2021-12-06 01:49:21 +00:00
Yang Le
d331716ed6 re-create addon client cert once bootstrap kubeconfig changes (#172)
Signed-off-by: Yang Le <yangle@redhat.com>
2021-12-02 04:28:35 +01:00
Wei Liu
50b92cd060 avoid recreate lease when cluster is deleting and remove old code (#181)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2021-11-29 10:22:18 +01:00
Jian Qiu
53b1c343cc Replace bindata with embed (#180)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-11-23 10:59:40 +01:00
Jian Qiu
86952694e1 Add push action for main (#179)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-11-23 04:21:38 +01:00
Mike Ng
fc10d8c17d Update security md to refer to the OCM community security md file. (#177)
Signed-off-by: Mike Ng <ming@redhat.com>
2021-11-09 01:20:58 +01:00
Jian Qiu
85abcfb07e Change builder image to avoid pull limit (#176)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-11-08 07:41:37 +01:00
Wei Liu
7bb4b6864d exclude the cordoned nodes when calc node allocatable (#174)
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-11-05 10:00:21 +01:00
Wei Liu
ef7c23eded add change log for v0.5 (#173)
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-10-15 08:59:46 +02:00
Yang Le
5ea8794d68 sync the original clusterset firstly (#171)
Signed-off-by: Yang Le <yangle@redhat.com>
2021-10-11 10:46:47 +02:00
OpenShift Merge Robot
4e7ecf3741 Merge pull request #170 from skeeey/trigger
trigger a new build
2021-09-24 05:53:54 -04:00
liuwei
723811561a trigger a new build
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-09-24 09:19:59 +00:00
OpenShift Merge Robot
a546267034 Merge pull request #169 from elgnay/upgrade-clusterset
upgrade clusterset api
2021-09-17 22:56:56 -04:00
Yang Le
6f8ca332f9 upgrade clusterset api
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-18 10:32:30 +08:00