Commit Graph

38 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
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
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
2e58714199 Update golang builder in Dockerfile (#133)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-04-25 06:00:16 -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
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
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
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
2f5ecc5750 fix flaky test (#106)
Signed-off-by: zhujian <jiazhu@redhat.com>
2021-12-02 13:10:47 +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
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
562516ab63 Add generation in status
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-08-31 13:55:10 +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
Yang Le
4af2cb0ce9 update readme & makefile
Signed-off-by: Yang Le <yangle@redhat.com>
2021-06-15 11:07:23 +08:00
Zhiwei Yin
30b03bec32 vaidate manifests size
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-04-17 07:58:41 +08:00
Zhiwei Yin
20b00f59af run as non-root
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-04-16 15:11:58 +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
Jian Qiu
c360449bca Ignore version when finding untracked resource
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-03-24 18:42:59 +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
OpenShift Merge Robot
ff23692076 Merge pull request #39 from elgnay/available-status
Add controller to handle Available status
2020-08-07 00:29:42 -04:00
Yang Le
08efde4309 Add controller to handle Available status 2020-08-05 12:08:09 +08:00
Jian Qiu
440af3438a Add manifestwork validating webhook 2020-07-30 19:31:27 +08:00
Yang Le
26e5edb773 Create appliedmanifestwork crd with agent deployer in e2e testing 2020-07-27 14:29:12 +08:00
Yang Le
017b3aa427 Update e2e test cases to work with registration-operator 2020-07-22 14:39:51 +08:00
Jian Qiu
e4fa6ba7e3 Implement appliedmanifestwork 2020-07-10 18:03:22 +08:00
Yang Le
22c633a6e3 Add e2e test cases 2020-07-09 16:33:10 +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
7628104ef1 Check applied resources in integration test cases 2020-06-02 13:35:45 +08:00
Yang Le
188bd6fbad Add more integration test cases 2020-05-21 16:42:11 +08:00
Yang Le
0f4a815fdd Enable status condition checking 2020-05-21 11:43:45 +08:00
Yang Le
90cf73cd3f Add basic integration test cases 2020-05-15 09:35:04 +08:00