mirror of https://github.com/kubernetes/kops.git
Default AssociatePublicIP to true
If AssociatePublicIP is nil, treat that as true. The full fix is likely to version InstanceGroups, but this is also "defense in depth".
This commit is contained in:
parent
9ee663764f
commit
8c1cbec9b6
|
|
@ -8,7 +8,7 @@ launchConfiguration/{{ $m.Name }}.masters.{{ ClusterName }}:
|
|||
iamInstanceProfile: iamInstanceProfile/masters.{{ ClusterName }}
|
||||
imageId: {{ $m.Spec.Image }}
|
||||
instanceType: {{ $m.Spec.MachineType }}
|
||||
associatePublicIP: {{ $m.Spec.AssociatePublicIP }}
|
||||
associatePublicIP: {{ or $m.Spec.AssociatePublicIP true }}
|
||||
userData: resources/nodeup.sh _kubernetes_master
|
||||
rootVolumeSize: {{ or $m.Spec.RootVolumeSize "20" }}
|
||||
rootVolumeType: {{ or $m.Spec.RootVolumeType "gp2" }}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ launchConfiguration/{{ $nodeset.Name }}.{{ ClusterName }}:
|
|||
iamInstanceProfile: iamInstanceProfile/nodes.{{ ClusterName }}
|
||||
imageId: {{ $nodeset.Spec.Image }}
|
||||
instanceType: {{ $nodeset.Spec.MachineType }}
|
||||
associatePublicIP: {{ $nodeset.Spec.AssociatePublicIP }}
|
||||
associatePublicIP: {{ or $nodeset.Spec.AssociatePublicIP true }}
|
||||
userData: resources/nodeup.sh _kubernetes_pool
|
||||
rootVolumeSize: {{ or $nodeset.Spec.RootVolumeSize "20" }}
|
||||
rootVolumeType: {{ or $nodeset.Spec.RootVolumeType "gp2" }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue