Commit Graph

539 Commits

Author SHA1 Message Date
Hongcai Ren 1186eeb9a4
add script for run e2e tests (#71) 2020-12-14 10:42:01 +08:00
Hongcai Ren 06ab939c45
add policy controller design (#50) 2020-12-11 19:46:13 +08:00
Xianpao Chen 0dd358dc2a
support kubeconfig and masterURL parameters (#69) 2020-12-11 18:05:51 +08:00
Xianpao Chen ce8b52c3b3
refactor ensure function by createorupdate in controller-runtime (#68) 2020-12-11 15:50:37 +08:00
Xianpao Chen bf84ff9001
remove orphan work and binding (#62) 2020-12-09 11:48:45 +08:00
Hongcai Ren ce26d4acfb
enable unit test in workflow (#66) 2020-12-09 10:36:04 +08:00
Hongcai Ren 631b719bbd
rename --kubeconfig-path with --kubeconfig (#65) 2020-12-08 17:07:25 +08:00
RainbowMango aa24ea2457 client interface change after scope change. 2020-12-08 14:12:35 +08:00
RainbowMango ea6215fcf7 Update codegen and crdgen. 2020-12-08 14:12:35 +08:00
RainbowMango c4e15d7b30 change member cluster to non-namespaced 2020-12-08 14:12:35 +08:00
Hanbo Li 4d2e1de9e9
prefix execution space name with karmada-es- (#61) 2020-12-08 11:12:28 +08:00
Hongcai Ren e9d590264b
Enable detect version by git tags (#63) 2020-12-08 10:06:32 +08:00
Hanbo Li e7d751bbc8
manipulate GVR from GVK by RESTMapper for execution controller (#60) 2020-12-07 17:16:18 +08:00
Xianpao Chen 61c86f7a0c
rename function name that ambiguous (#54) 2020-12-07 10:02:52 +08:00
RainbowMango c94a795299 manipulate GVR from GVK by RESTMapper 2020-12-07 09:38:01 +08:00
Kevin Wang 5f8d953756 update architecture and concepts
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-12-04 21:28:24 +08:00
Hongcai Ren 3a1e271b80
cleanup after adopt controller-runtime (#56) 2020-12-04 16:55:27 +08:00
Hanbo Li 75d912aa5c
refactor membercluster controller and execution controller with controller-runtime (#55) 2020-12-04 16:39:05 +08:00
Xianpao Chen 28ecd3b0ff
refactor binding controller with controller-runtime (#52) 2020-12-04 11:47:06 +08:00
Hongcai Ren 2e7d385163
Enable codegen check and pin specific version (#53)
* pin controller-gen with version v0.4.1

* update workflow yaml
2020-12-04 11:18:01 +08:00
RainbowMango 8553359816 Update vendor.
bump github.com/go-logr/logr to v0.3.0 solving dependency issue
2020-12-03 21:40:37 +08:00
RainbowMango 6d768938b7 Introduce controller-runtime to implementes policy controller. 2020-12-03 21:40:37 +08:00
Hongcai Ren f844c2bd33
Add cluster and execution controller design (#35) 2020-12-02 10:51:38 +08:00
Kevin Wang ed19391619
update policy examples (#48)
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-12-02 10:18:31 +08:00
Kevin Wang ba172b4bcd fix no newline at end of file issue
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-12-01 21:07:59 +08:00
RainbowMango a08c3af364 Update vendor 2020-12-01 21:07:48 +08:00
RainbowMango e49f9d6ea7 Add integration and e2e framework 2020-12-01 21:07:48 +08:00
Kevin Wang 160e961307
fix SpreadConstraint json tag issue in policy API (#46)
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-12-01 20:00:24 +08:00
RainbowMango 0a789c52ca trigger ci on all branches. 2020-12-01 17:04:08 +08:00
RainbowMango f9cde6835b Fix can not propagate to multiclusters issue 2020-12-01 15:34:18 +08:00
RainbowMango b15f04f0af Add simple local-up-karmada.sh 2020-11-30 20:33:27 +08:00
Kevin Wang 2e60588db6 Apply suggestions from code review 2020-11-30 20:05:30 +08:00
Kevin Wang dbb56be9bc Apply suggestions from code review 2020-11-30 20:05:30 +08:00
x15zhang 13f6a7157b add quickstart 2020-11-30 20:05:30 +08:00
Hanbo Li 73f34fe760
fixed spelling mistakes of karmadactl join command example (#39) 2020-11-27 16:02:27 +08:00
Hongcai Ren 520b8d3397
set config with a cluster name which contains 'kind' prefix. (#38) 2020-11-27 10:04:08 +08:00
Hongcai Ren b6d49901d5 Update hack/create-cluster.sh
Co-authored-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-11-26 20:42:20 +08:00
Hongcai Ren 7096f8ba43 Update hack/create-cluster.sh
Co-authored-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-11-26 20:42:20 +08:00
Hongcai Ren bd1d7d6129 Update hack/create-cluster.sh
Co-authored-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-11-26 20:42:20 +08:00
RainbowMango 6df7f16ee3 Add scripts for create/delete kind cluster and deploy/undeploy
control-plane.
2020-11-26 20:42:20 +08:00
Xianpao Chen be32c34b69
add policy resource label selector (#36) 2020-11-26 15:21:48 +08:00
mrlihanbo 395b4da4f8
ensure finalizer for given propagationwork (#34) 2020-11-26 14:42:17 +08:00
mrlihanbo 90988a5580
delete execution space when membercluster deleted (#33) 2020-11-26 11:52:06 +08:00
Xianpao Chen a3c6e061eb
fix no apiversion and kind bug when creating binding or work (#29) 2020-11-23 19:56:12 +08:00
mrlihanbo 3b4bec41ba
add execution controller (#25) 2020-11-23 17:49:35 +08:00
Hongcai Ren b139527293
add all endpoint to makefile (#31)
* Fix gofmt issue.

* add make file endpoint: all
2020-11-23 12:50:48 +08:00
Kevin Wang e2a0eeda76 update membercluster and work API, mark conditions optional
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-11-23 10:22:46 +08:00
RainbowMango e6ed8df1e5 Update cluster role 2020-11-20 19:52:41 +08:00
RainbowMango 3cce1a06c1 suppress some repeated logs. 2020-11-20 19:52:01 +08:00
Kevin Wang 04e95c9a74 fix propagationWork API issue, preserve unknown fields
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-11-20 18:09:30 +08:00