Mohamed ElSerngawy
8dd52acfae
Add create,update and delete placeManifestWork ( #177 )
...
Signed-off-by: melserngawy <melserng@redhat.com >
2023-02-06 20:23:44 -05:00
Yang Le
d8f960f9e3
upgrade imagebuilder ( #181 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2023-02-06 08:43:07 +01:00
Yang Le
1e14476a8c
add changelog for v0.10.0 ( #179 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2023-02-03 02:23:56 +01:00
Jian Qiu
e7fd0453dd
Split logic of controller to multiple reconcilers ( #176 )
...
This could make code clearer
also update the crd fix
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-01-16 16:44:26 -05:00
Jian Qiu
17031158f6
Add informer setup for placemanifestwork ( #175 )
...
- add index and informer to watch resources
- build binary for hub manager
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-01-12 15:53:45 -05:00
Mohamed ElSerngawy
c3fd69968b
Add inital skeleton for placeManifestWork controller ( #171 )
...
* Add inital skeleton for placeManifestWork controller
Signed-off-by: melserngawy <melserng@redhat.com >
* Update vendor
Signed-off-by: melserngawy <melserng@redhat.com >
* fix pkgs
Signed-off-by: melserngawy <melserng@redhat.com >
Signed-off-by: melserngawy <melserng@redhat.com >
2023-01-09 20:45:46 -05:00
Wei Liu
e0a940cab0
clear the comments for deleting unmanaged appliedmanifestworks ( #174 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2023-01-05 21:56:02 -05:00
Wei Liu
5417cc44c9
delete old applied work after its new work is applied ( #172 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2023-01-02 20:36:02 -05:00
Jian Qiu
5b740461ad
Reduce default sync interval to 10s ( #167 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-12-01 02:42:26 -05:00
Jian Zhu
1a95b77fee
Delete resource even if it has non-appliedmanifestwork owners ( #170 )
...
* Delete resource even if it has non-appliedmanifestwork owners
Signed-off-by: zhujian <jiazhu@redhat.com >
* Make tests easier to debug
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-12-01 02:11:29 -05:00
Jian Zhu
922fbd90c3
cache the executor validation results ( #165 )
...
* cache the executor validation results
Signed-off-by: zhujian <jiazhu@redhat.com >
* move executor cache controller to auth package
Signed-off-by: zhujian <jiazhu@redhat.com >
* add a binding resource executor mapper to process delete event
Signed-off-by: zhujian <jiazhu@redhat.com >
* initialize caches before starting the cache controller
Signed-off-by: zhujian <jiazhu@redhat.com >
* read enable executor caches from flag
Signed-off-by: zhujian <jiazhu@redhat.com >
* add unit tests for cache store
Signed-off-by: zhujian <jiazhu@redhat.com >
* add unit tests for cache validator
Signed-off-by: zhujian <jiazhu@redhat.com >
* add unit tests for cache controller
Signed-off-by: zhujian <jiazhu@redhat.com >
* read enable executor caches from feature gate
Signed-off-by: zhujian <jiazhu@redhat.com >
* add integration tests for cache controller
Signed-off-by: zhujian <jiazhu@redhat.com >
* add a description doc for the cache package
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-11-22 03:03:37 -05:00
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