Skip to content

Commit a5e96f9

Browse files
committed
Fix nodePools values usage in AWSCluster resource
1 parent 3fe2bfa commit a5e96f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helm/cluster-aws/templates/_aws_cluster.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ spec:
9393
controlPlaneIAMInstanceProfile: control-plane-{{ include "resource.default.name" $ }}
9494
name: {{ include "aws-region" . }}-capa-{{ include "resource.default.name" $ }}
9595
nodesIAMInstanceProfiles:
96-
{{- range $name, $value := .Values.nodePools | default .Values.internal.nodePools }}
96+
{{- range $name, $value := .Values.global.nodePools | default .Values.internal.nodePools }}
9797
- nodes-{{ $name }}-{{ include "resource.default.name" $ }}
9898
{{- end }}
9999
region: {{ include "aws-region" . }}

0 commit comments

Comments
 (0)