dependabot[bot]
5442e8cb68
Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.1.0 ( #188 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20220214200702-86341886e292 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 03:17:24 +01:00
Mohamed ElSerngawy
bdc3007055
Rename placeManifestWork to manifestWorkReplicaSet ( #187 )
...
* Rename placeManifestWork to manifestWorkReplicaSet
Signed-off-by: melserngawy <melserng@redhat.com >
* Rename apis and variables
Signed-off-by: melserngawy <melserng@redhat.com >
---------
Signed-off-by: melserngawy <melserng@redhat.com >
2023-03-01 02:44:49 +01:00
Zhiwei Yin
9a872ebcd7
the manifest size limit can be configured ( #186 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2023-02-28 15:50:58 +01:00
dependabot[bot]
ed501f7f97
Bump golang.org/x/net from 0.1.0 to 0.7.0 ( #184 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 02:35:16 +01:00
Jian Qiu
1b804b8488
Add initial e2e/integration for placeManifestWork ( #180 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-02-17 14:50:11 +01:00
Mohamed ElSerngawy
4c46957b53
Add validate webhook ( #182 )
...
Signed-off-by: melserngawy <melserng@redhat.com >
2023-02-15 01:34:25 -05:00
dependabot[bot]
641fe5c856
Bump github.com/emicklei/go-restful ( #183 )
...
Bumps [github.com/emicklei/go-restful](https://github.com/emicklei/go-restful ) from 2.9.5+incompatible to 2.16.0+incompatible.
- [Release notes](https://github.com/emicklei/go-restful/releases )
- [Changelog](https://github.com/emicklei/go-restful/blob/v3/CHANGES.md )
- [Commits](https://github.com/emicklei/go-restful/compare/v2.9.5...v2.16.0 )
---
updated-dependencies:
- dependency-name: github.com/emicklei/go-restful
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 22:05:46 -05:00
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