mirror of https://github.com/kubernetes/kops.git
				
				
				
			add parameter --disable-associate-public-ip
This commit is contained in:
		
							parent
							
								
									ec122d54a6
								
							
						
					
					
						commit
						7984bfcb62
					
				| 
						 | 
				
			
			@ -360,7 +360,7 @@ func (c *CreateClusterCmd) Run(args []string) error {
 | 
			
		|||
	if c.DisableAssociatePublicIP {
 | 
			
		||||
		glog.V(1).Info("Disable associate public IP: %v", c.DisableAssociatePublicIP)
 | 
			
		||||
		associatePublicIp := false
 | 
			
		||||
		fullCluster.Spec.AssociatePublicIP = associatePublicIp
 | 
			
		||||
		fullCluster.Spec.AssociatePublicIP = &associatePublicIp
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	applyCmd := &cloudup.ApplyClusterCmd{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue