mirror of https://github.com/kubernetes/kops.git
add parameter --no-public-ip
This commit is contained in:
parent
911092e419
commit
0c96f5dd1d
|
@ -359,6 +359,8 @@ func (c *CreateClusterCmd) Run(args []string) error {
|
|||
|
||||
if c.NoPublicIP {
|
||||
fullCluster.Spec.AssociatePublicIP = fi.Bool(false);
|
||||
} else {
|
||||
fullCluster.Spec.AssociatePublicIP = fi.Bool(true);
|
||||
}
|
||||
|
||||
applyCmd := &cloudup.ApplyClusterCmd{
|
||||
|
|
Loading…
Reference in New Issue