Jian Zhu
90ef24d93b
Update ginkgo to v2 ( #168 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-11-18 09:37:57 +00:00
DangPeng Liu
3c6511bca9
set min tls version ( #166 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
Signed-off-by: ldpliu <daliu@redhat.com >
2022-11-16 07:28:29 +00:00
DangPeng Liu
467124210c
use controller runtime to implement webhook ( #164 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
Signed-off-by: ldpliu <daliu@redhat.com >
2022-11-06 22:14:16 -05:00
Jian Qiu
f147a7c53e
Delete unmanaged AppliedManifestWork ( #161 )
...
* Delete unmanaged AppliedManifestWork
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add integration test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-11-04 01:26:29 -04:00
Yang Le
f8d1857345
upgrade to golang1.19 ( #163 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
Signed-off-by: Yang Le <yangle@redhat.com >
2022-10-28 05:01:45 -04:00
Yang Le
d20928e2bf
add changelog for v0.9.0 ( #162 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
Signed-off-by: Yang Le <yangle@redhat.com >
2022-10-20 02:51:48 -04:00
Jian Zhu
6820f68d81
check the executor subject permission for delete ( #160 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-10-10 03:21:06 +02:00
Jian Zhu
3947bd293b
check escalation for executor subject ( #159 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-09-29 05:42:18 +02:00
Jian Zhu
60d622078b
validate manifest work executor permission on hub cluster ( #158 )
...
* validate manifest work executor permission on hub cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* do not validate the executor when it is not changed
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-09-28 05:43:05 +02:00
Jian Zhu
78c39cf7fb
check the executor subject permission for action apply ( #152 )
...
* check work execution permission
Signed-off-by: zhujian <jiazhu@redhat.com >
* Move requeue time in auth package
Signed-off-by: zhujian <jiazhu@redhat.com >
* fix flaky test
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-09-15 03:22:04 +02:00
Jian Zhu
2a7edddede
Fix nil pointer panic ( #157 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-09-09 04:58:42 +02:00
TYTaO
6a0f69fd47
fix Missing filter ( #151 )
...
Signed-off-by: tytao <1522014784@qq.com >
Signed-off-by: tytao <1522014784@qq.com >
2022-09-01 22:34:41 +02:00
Jian Zhu
787d7c5d45
move apply method to seperate package ( #149 )
...
* move apply method to seperate package
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* make sure the update apply func returns existing object
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
Co-authored-by: Jian Qiu <jqiu@redhat.com >
2022-08-29 04:10:16 -04:00
Yang Le
8f206974dd
upgrade go libraries ( #145 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-07-27 10:24:53 +02:00
Jian Qiu
3d0c8cd275
Fix release yaml ( #144 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-07-12 06:14:52 +00:00
Yang Le
0a87b7c674
add changelog for v0.8.0 ( #143 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-07-11 07:51:35 +00:00
Jian Qiu
1a7686ee47
support update strategy in manifestwork ( #139 )
...
* Add ssa strategy
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add test cases
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Resolve comments
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Use default manager in api repo
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Refatcor deleteOption
patch ownerref separately for deleteOption
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Do not reconcile when ssa conflict
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-07-07 02:09:42 +00:00
Qing Hao
718605172f
split work permissions ( #142 )
...
* split work permissions
Signed-off-by: haoqing0110 <qhao@redhat.com >
* add more comments
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-06-27 14:35:25 +00:00
DangPeng Liu
6f534125a7
update default qps for webhook ( #141 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-06-20 08:22:24 +00:00
Wei Liu
10b572b2a6
enable log flags ( #140 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-06-15 16:18:20 +00:00
Jian Qiu
ae6b2c5ac6
Refector apply manifest code ( #138 )
...
This is for the preparation of futher enhancement
in work
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-31 06:07:28 -04:00
Jian Qiu
320b657d6d
Upgrade go to 1.18 ( #137 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-24 23:24:55 -04:00
Jian Qiu
a7145fd2b5
Add lint check in make verify ( #135 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-09 00:53:03 -04:00
Mike Ng
70d6369be4
Remove unreachable redundant err check. ( #134 )
...
Signed-off-by: Mike Ng <ming@redhat.com >
2022-05-06 20:54:09 -04:00
Jian Qiu
2e58714199
Update golang builder in Dockerfile ( #133 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-04-25 06:00:16 -04:00
Min Kim
806bb383f5
share release job env ( #131 )
...
Signed-off-by: yue9944882 <291271447@qq.com >
2022-04-08 06:50:20 -04:00
Jian Qiu
75a02d18fa
enable multi-arch build ( #130 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-04-08 00:50:15 -04:00
Jian Zhu
9e9e6b2eb6
Keep the finalizers unchanged for unstructured ( #128 )
...
* Merge finalizer for unstructured
Signed-off-by: zhujian <jiazhu@redhat.com >
* Keep the finalizers unchanged
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add test for keeping the finalizers unchanged
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-04-02 05:12:34 -04:00
Yang Le
ed589b9cfd
upgrade go libraries ( #127 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-03-30 04:25:40 -04:00
Jian Qiu
018d51a596
Merge label and annotation for unstructured ( #126 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-30 00:10:41 -04:00
Yang Le
084d905036
add changelog for v0.7 ( #122 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-03-24 04:59:02 +01:00
Jian Qiu
68bdf83a4c
Avoid building latest image in release branch ( #121 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-23 12:52:06 +01:00
Jian Qiu
a042fb22cc
Disable apf in webhook ( #120 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-23 04:16:31 +01:00
Jian Qiu
61c038e3f3
some code refactor ( #118 )
...
1. use resourceIdentifier to track resource
2. pass context for deleteAppliedResource
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-02-25 02:52:47 -05:00
Jian Qiu
7aed123b07
Add an integration test to remove a resource with orphanDelete ( #117 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-02-23 21:41:29 -05:00
xuezhaojun
d3dd5db498
Update generic addmission server to support run webhook locally ( #115 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-02-20 20:37:31 -05:00
Zhiwei Yin
f5ca2e6751
add job and pod wellknownStatusRules ( #113 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-01-29 02:30:25 -05:00
xuezhaojun
1edddab8a8
support run webhook server outside of cluster ( #110 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-01-24 01:44:09 -05:00
Yang Le
9a20b91430
add changelog for v0.6 ( #111 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-01-20 02:25:29 -05:00
Jian Qiu
4334762add
Add disable leader election flag ( #109 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-01-17 22:16:05 -05:00
Jian Qiu
5d86a958cb
Update go to 1.17 ( #108 )
...
* Add interested field (#107 )
* Add interested field
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add integration test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Resolve comments
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update go to 1.17
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-01-17 10:11:19 +01:00
Jian Qiu
260cd94d85
Add interested field ( #107 )
...
* Add interested field
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add integration test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Resolve comments
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-01-17 09:37:21 +01:00
Jian Zhu
44e5c786e4
support run work agent outside of managed cluster ( #104 )
...
* support run work agent outside of managed cluster
add a flag spoke-kubeconfig to specify the kubeconfig of the apoke/managed cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* delete field SpokeKubeconfig
Signed-off-by: zhujian <jiazhu@redhat.com >
2021-12-03 02:26:47 +01:00
Jian Zhu
2f5ecc5750
fix flaky test ( #106 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2021-12-02 13:10:47 +01:00
Mike Ng
f18896b897
Update securitymd to refer to the OCM community security md file ( #105 )
...
Signed-off-by: Mike Ng <ming@redhat.com >
2021-11-10 01:08:28 +01:00
Jian Qiu
0a4850b950
Set default propagation policy to background ( #101 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-10-25 03:34:48 +00:00
Yang Le
03d0576494
add changelog for v0.5 ( #102 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-10-15 05:21:45 +02:00
Jian Qiu
ae50da649a
Fix deps of library-go ( #100 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-09-28 23:25:25 -04:00
OpenShift Merge Robot
cfa676cf80
Merge pull request #97 from panpan0000/main
...
fix typo in doc
2021-09-24 03:13:37 -04:00
Peter Pan
30eac35995
fix typo in doc
...
Signed-off-by: panpan0000 <peter.pan@daocloud.io >
2021-09-24 02:21:18 -04:00