Commit Graph

24 Commits

Author SHA1 Message Date
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
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
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
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 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
9073cd283e reduce the numbe of GET request of manifestwork
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-08 15:16:25 +08:00
Jian Qiu
c993830f25 Support delete option
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-09-03 11:55:33 +08:00
Jian Qiu
fa038178d1 Update library-go and api
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-09-02 10:46:04 +08:00
Jian Qiu
e56f18849f Change deps and enable action
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-06-15 15:33:20 +08:00
Zhiwei Yin
ba559f456c upgrade CRD to v1 and k8s lib to 0.21.0-rc.0
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-04-08 13:20:52 +08:00
Yang Le
4252656611 Replace resource mapper with dynamicRESTMapper
Signed-off-by: Yang Le <yangle@redhat.com>
2021-02-07 14:48:48 +08:00
Jian Qiu
c6430529fb Adopt metav1 condition 2020-09-04 15:46:50 +08:00
Jian Qiu
60a859d9f1 Resolve condition dangling 2020-08-28 12:47:07 +08:00
Yang Le
7cede9fd2f Delete resources applied by controller only 2020-08-26 17:38:32 +08:00
Yang Le
08efde4309 Add controller to handle Available status 2020-08-05 12:08:09 +08:00
Jian Qiu
e4fa6ba7e3 Implement appliedmanifestwork 2020-07-10 18:03:22 +08:00
Yang Le
de41bc43e1 Handle unknown kind returned by GuessObjectGroupVersionKind() 2020-07-06 09:42:54 +08:00
Yang Le
25e2dbdab7 Address remaining comments on pr #25 2020-06-30 17:29:55 +08:00
Yang Le
e1ebbae886 Support foreground deletion 2020-06-30 03:10:11 +08:00
Yang Le
7ff87da266 Refine manifest condition merge logic 2020-05-20 09:52:57 +08:00
Yang Le
484dafb5ed Update manifest condition merge logic 2020-05-20 09:50:35 +08:00
Yang Le
c1a07f8984 Rename func isAllInCondition and test case 2020-05-19 15:53:19 +08:00
Yang Le
9b484af1e7 Generate work status conditions from manifest conditions 2020-05-19 10:24:03 +08:00
Jian Qiu
9aa8a8bb3d Add work reconcile loop 2020-04-29 15:22:45 +08:00