Skip to content

Commit

Permalink
fix global variables
Browse files Browse the repository at this point in the history
  • Loading branch information
paurosello committed Nov 8, 2024
1 parent bc5da5c commit 9dc4025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/cluster-aws/templates/_control_plane.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Any changes to this will trigger the resource to be recreated rather than attemp
{{- define "controlplane-awsmachinetemplate-spec" -}}
{{- include "ami" $ }}
additionalTags:
{{- if .Values.global.providerSpecific.additionalNodeTags -}}{{- toYaml .Values.global.providerSpecific.additionalNodeTags | nindent 2 }}{{- end}}
{{- if $.Values.global.providerSpecific.additionalNodeTags -}}{{- toYaml $.Values.global.providerSpecific.additionalNodeTags | nindent 2 }}{{- end}}
cloudInit: {}
instanceType: {{ .Values.global.controlPlane.instanceType }}
nonRootVolumes:
Expand Down
2 changes: 1 addition & 1 deletion helm/cluster-aws/templates/_machine_pools.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
additionalTags:
k8s.io/cluster-autoscaler/enabled: "true"
giantswarm.io/machinepool: {{ $name }}
{{- if .Values.global.providerSpecific.additionalNodeTags -}}{{- toYaml .Values.global.providerSpecific.additionalNodeTags | nindent 4 }}{{- end}}
{{- if $.Values.global.providerSpecific.additionalNodeTags -}}{{- toYaml $.Values.global.providerSpecific.additionalNodeTags | nindent 4 }}{{- end}}
availabilityZones: {{ include "aws-availability-zones" (dict "mp" $value "Values" $.Values "Files" $.Files) | nindent 2 }}
subnets:
- filters:
Expand Down

0 comments on commit 9dc4025

Please sign in to comment.