remove unnecessary ControllerNamespace

This commit is contained in:
Murat Kabilov 2017-03-08 14:29:48 +01:00
parent 416dace289
commit fc127069ab
2 changed files with 8 additions and 10 deletions

View File

@ -32,7 +32,6 @@ var (
//TODO: remove struct duplication
type Config struct {
ControllerNamespace string
KubeClient *kubernetes.Clientset //TODO: move clients to the better place?
RestClient *rest.RESTClient
EtcdClient etcdclient.KeysAPI

View File

@ -12,7 +12,6 @@ import (
func (c *Controller) makeClusterConfig() cluster.Config {
return cluster.Config{
ControllerNamespace: c.config.PodNamespace,
KubeClient: c.config.KubeClient,
RestClient: c.config.RestClient,
EtcdClient: c.config.EtcdClient,