@@ -366,7 +366,8 @@ func (c *ClusterUpConfig) makeNodeConfig(masterConfigDir string) (string, error)
366
366
367
367
container := kubelet .NewNodeStartConfig ()
368
368
container .ContainerBinds = append (container .ContainerBinds , masterConfigDir + ":/var/lib/origin/openshift.local.masterconfig:z" )
369
- container .NodeImage = c .openshiftImage ()
369
+ container .CLIImage = c .cliImage ()
370
+ container .NodeImage = c .nodeImage ()
370
371
container .Args = []string {
371
372
fmt .Sprintf ("--certificate-authority=%s" , "/var/lib/origin/openshift.local.masterconfig/ca.crt" ),
372
373
fmt .Sprintf ("--dns-bind-address=0.0.0.0:%d" , c .DNSPort ),
@@ -393,7 +394,7 @@ func (c *ClusterUpConfig) makeNodeConfig(masterConfigDir string) (string, error)
393
394
func (c * ClusterUpConfig ) makeKubeletFlags (out io.Writer , nodeConfigDir string ) ([]string , error ) {
394
395
container := kubelet .NewKubeletStartFlags ()
395
396
container .ContainerBinds = append (container .ContainerBinds , nodeConfigDir + ":/var/lib/origin/openshift.local.config/node:z" )
396
- container .NodeImage = c .openshiftImage ()
397
+ container .NodeImage = c .nodeImage ()
397
398
container .UseSharedVolume = ! c .UseNsenterMount
398
399
399
400
kubeletFlags , err := container .MakeKubeletFlags (c .GetDockerClient (), c .BaseDir )
@@ -473,7 +474,7 @@ func (c *ClusterUpConfig) startKubelet(out io.Writer, masterConfigDir, nodeConfi
473
474
// /sys/devices/virtual/net/vethXXX/brport/hairpin_mode, so make this rw, not ro.
474
475
container .ContainerBinds = append (container .ContainerBinds , "/sys/devices/virtual/net:/sys/devices/virtual/net:rw" )
475
476
476
- container .NodeImage = c .openshiftImage ()
477
+ container .NodeImage = c .nodeImage ()
477
478
container .HTTPProxy = c .HTTPProxy
478
479
container .HTTPSProxy = c .HTTPSProxy
479
480
container .NoProxy = c .NoProxy
0 commit comments