mirror of https://github.com/kubernetes/kops.git
Flipping associatePublicIP bool for nodes/bastion/master in private topology
This commit is contained in:
parent
5f600eb543
commit
6f78e0ca18
|
|
@ -12,7 +12,7 @@ launchConfiguration/{{ $m.Name }}.masters.{{ ClusterName }}:
|
|||
associatePublicIP: {{ WithDefaultBool $m.Spec.AssociatePublicIP true }}
|
||||
{{ end }}
|
||||
{{ if IsTopologyPrivate }}
|
||||
associatePublicIP: true
|
||||
associatePublicIP: false
|
||||
{{ end }}
|
||||
userData: resources/nodeup.sh {{ $m.Name }}
|
||||
rootVolumeSize: {{ or $m.Spec.RootVolumeSize "20" }}
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ launchConfiguration/bastion.{{ ClusterName }}:
|
|||
iamInstanceProfile: iamInstanceProfile/masters.{{ ClusterName }}
|
||||
imageId: {{ GetBastionImageId }}
|
||||
instanceType: t2.small
|
||||
associatePublicIP: true
|
||||
associatePublicIP: false
|
||||
rootVolumeSize: 20
|
||||
rootVolumeType: gp2
|
||||
autoscalingGroup/bastion.{{ ClusterName }}:
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ launchConfiguration/{{ $ig.Name }}.{{ ClusterName }}:
|
|||
iamInstanceProfile: iamInstanceProfile/nodes.{{ ClusterName }}
|
||||
imageId: {{ $ig.Spec.Image }}
|
||||
instanceType: {{ $ig.Spec.MachineType }}
|
||||
associatePublicIP: true
|
||||
associatePublicIP: false
|
||||
userData: resources/nodeup.sh {{ $ig.Name }}
|
||||
rootVolumeSize: {{ or $ig.Spec.RootVolumeSize "20" }}
|
||||
rootVolumeType: {{ or $ig.Spec.RootVolumeType "gp2" }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue