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
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
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 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
72de5d1594
Fix owners merge in apply unstructured
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-09-16 16:00:36 +08: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
562516ab63
Add generation in status
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-08-31 13:55:10 +08:00
Jian Qiu
0ccab23cc2
Resolve apply conflict
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-07-20 14:39:30 +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
1e839f26ed
increase qps & burst
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-06-11 16:57:16 +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
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
Zhiwei Yin
442fc666f2
fix typo
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2021-02-20 10:11:35 +08:00
Yang Le
795575932f
Update code comments
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-02-18 14:27:06 +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
Yang Le
1ae24f248f
Correct typos
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-01-14 15:01:53 +08:00
Yang Le
4efd6bd5e5
Update comments of AppliedManifestWorkController
...
Signed-off-by: Yang Le <yangle@redhat.com >
2020-12-04 13:52:25 +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
017b3aa427
Update e2e test cases to work with registration-operator
2020-07-22 14:39:51 +08:00
Jian Qiu
d4bd6c718e
Follow up of pr28
2020-07-20 21:13:40 +08:00
Jian Qiu
e4fa6ba7e3
Implement appliedmanifestwork
2020-07-10 18:03:22 +08:00
Yang Le
b269b91a24
Check if finalizer exists before applying manifests
2020-07-08 10:44:57 +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
e75664bd03
Add StaleManifestDeletionController to delete untracked resources
2020-06-01 15:34:41 +08:00
OpenShift Merge Robot
0b640bf510
Merge pull request #17 from elgnay/more-integration-cases
...
Add more integration test cases
2020-05-28 09:04:14 -04:00
David Eads
bed0d6e7ba
separate manifest controllers
2020-05-21 17:44:06 -04:00
David Eads
1d0803b910
separate finalizer controller
2020-05-21 17:44:05 -04:00
David Eads
43492dd790
separate test helpers
2020-05-21 17:44:05 -04:00
David Eads
9734749023
separate add finalizer controller
2020-05-21 17:44:05 -04:00
Yang Le
af80dfbc19
Use same logic to guess gvk of resource object
2020-05-21 18:47:46 +08:00
Yang Le
188bd6fbad
Add more integration test cases
2020-05-21 16:42:11 +08:00
Yang Le
99b8678fb2
Fix gvk not found issue
2020-05-20 20:56:19 +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