move controller config to the spec package

This commit is contained in:
Murat Kabilov
2017-08-15 11:41:46 +02:00
parent 606d000022
commit 58572bb43f
4 changed files with 21 additions and 18 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ import (
"syscall"
"github.com/zalando-incubator/postgres-operator/pkg/controller"
"github.com/zalando-incubator/postgres-operator/pkg/spec"
"github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil"
)
@@ -16,7 +17,7 @@ var (
kubeConfigFile string
outOfCluster bool
version string
config controller.Config
config spec.ControllerConfig
)
func init() {