diff --git a/Makefile b/Makefile index 750d2f68..dab47f4e 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ # # Current version of the project. -VERSION ?= v0.1.4 +VERSION ?= v0.2.1 # This repo's root import path (under GOPATH). ROOT := github.com/caicloud/rudder @@ -38,7 +38,7 @@ TARGETS := controller # The final built images are: # $[REGISTRY]/$[IMAGE_PREFIX]$[TARGET]$[IMAGE_SUFFIX]:$[VERSION] # $[REGISTRY] is an item from $[REGISTRIES], $[TARGET] is an item from $[TARGETS]. -IMAGE_PREFIX ?= $(strip rudder-) +IMAGE_PREFIX ?= $(strip release-) IMAGE_SUFFIX ?= $(strip ) # Container registries. diff --git a/cmd/controller/app/controllers.go b/cmd/controller/app/controllers.go index 09ecdc7d..62ed44b6 100644 --- a/cmd/controller/app/controllers.go +++ b/cmd/controller/app/controllers.go @@ -10,7 +10,8 @@ import ( ) // KnownControllers contains names of controllers -var KnownControllers = []string{"release-controller", "status-controller", "garbage-collector"} +// var KnownControllers = []string{"release-controller", "status-controller", "garbage-collector"} +var KnownControllers = []string{"release-controller", "status-controller"} // InitFunc is used to launch a particular controller. type InitFunc func(ctx ControllerContext) error @@ -20,7 +21,7 @@ func NewControllerInitializers(availableControllers []string) (map[string]InitFu allControllers := map[string]InitFunc{ "release-controller": startReleaseController, "status-controller": startStatusController, - "garbage-collector": startGCController, + // "garbage-collector": startGCController, } result := make(map[string]InitFunc)