Skip to content

Commit 8ae1580

Browse files
committed
Configure associate Public IP at node Pool level
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
1 parent 4a0a417 commit 8ae1580

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cluster/node-pools/master-default/stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Resources:
8181
VolumeType: gp3
8282
NetworkInterfaces:
8383
- DeviceIndex: 0
84-
# {{ if eq .Cluster.ConfigItems.associate_public_ip_on_launch "true" }}
84+
# {{ if eq .NodePool.ConfigItems.associate_public_ip_on_launch "true" }}
8585
AssociatePublicIpAddress: true
8686
# {{ end }}
8787
Groups:

cluster/node-pools/worker-karpenter/provisioners.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
securityGroupSelectorTerms:
2222
- tags:
2323
karpenter.sh/discovery: "{{ .Cluster.ID }}/WorkerNodeSecurityGroup"
24-
# {{ if eq .Cluster.ConfigItems.associate_public_ip_on_launch "true" }}
24+
# {{ if eq .NodePool.ConfigItems.associate_public_ip_on_launch "true" }}
2525
associatePublicIPAddress: true
2626
# {{ end }}
2727
instanceProfile: "{{ .Cluster.ID | awsValidID }}-WorkerKarpenter-InstanceProfile"

cluster/node-pools/worker-splitaz/stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Resources:
155155
VolumeType: gp3
156156
NetworkInterfaces:
157157
- DeviceIndex: 0
158-
# {{ if eq .Cluster.ConfigItems.associate_public_ip_on_launch "true" }}
158+
# {{ if eq .NodePool.ConfigItems.associate_public_ip_on_launch "true" }}
159159
AssociatePublicIpAddress: true
160160
# {{ end }}
161161
Groups:

0 commit comments

Comments
 (0)