remove unnecessary ControllerNamespace
This commit is contained in:
		
							parent
							
								
									416dace289
								
							
						
					
					
						commit
						fc127069ab
					
				|  | @ -32,7 +32,6 @@ var ( | ||||||
| 
 | 
 | ||||||
| //TODO: remove struct duplication
 | //TODO: remove struct duplication
 | ||||||
| type Config struct { | type Config struct { | ||||||
| 	ControllerNamespace string |  | ||||||
| 	KubeClient     *kubernetes.Clientset //TODO: move clients to the better place?
 | 	KubeClient     *kubernetes.Clientset //TODO: move clients to the better place?
 | ||||||
| 	RestClient     *rest.RESTClient | 	RestClient     *rest.RESTClient | ||||||
| 	EtcdClient     etcdclient.KeysAPI | 	EtcdClient     etcdclient.KeysAPI | ||||||
|  |  | ||||||
|  | @ -12,7 +12,6 @@ import ( | ||||||
| 
 | 
 | ||||||
| func (c *Controller) makeClusterConfig() cluster.Config { | func (c *Controller) makeClusterConfig() cluster.Config { | ||||||
| 	return cluster.Config{ | 	return cluster.Config{ | ||||||
| 		ControllerNamespace: c.config.PodNamespace, |  | ||||||
| 		KubeClient:     c.config.KubeClient, | 		KubeClient:     c.config.KubeClient, | ||||||
| 		RestClient:     c.config.RestClient, | 		RestClient:     c.config.RestClient, | ||||||
| 		EtcdClient:     c.config.EtcdClient, | 		EtcdClient:     c.config.EtcdClient, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue