@@ -170,7 +170,7 @@ func Test_pod_Process(t *testing.T) {
170170 "tolerations" : "{{- toYaml .Values.nginx.tolerations | nindent 8 }}" ,
171171 "topologySpreadConstraints" : "{{- toYaml .Values.nginx.topologySpreadConstraints | nindent 8 }}" ,
172172 "nodeSelector" : "{{- toYaml .Values.nginx.nodeSelector | nindent 8 }}" ,
173- "serviceAccountName" : " {{ default \" default \" ( include \ " .serviceAccountName\ " .) }}" ,
173+ "serviceAccountName" : ` {{ include ".serviceAccountName" . }}` ,
174174 }, specMap )
175175
176176 assert .Equal (t , helmify.Values {
@@ -218,7 +218,7 @@ func Test_pod_Process(t *testing.T) {
218218 },
219219 },
220220 "nodeSelector" : "{{- toYaml .Values.nginx.nodeSelector | nindent 8 }}" ,
221- "serviceAccountName" : " {{ default \" default \" ( include \ " .serviceAccountName\ " .) }}" ,
221+ "serviceAccountName" : ` {{ include ".serviceAccountName" . }}` ,
222222 "tolerations" : "{{- toYaml .Values.nginx.tolerations | nindent 8 }}" ,
223223 "topologySpreadConstraints" : "{{- toYaml .Values.nginx.topologySpreadConstraints | nindent 8 }}" ,
224224 }, specMap )
@@ -264,7 +264,7 @@ func Test_pod_Process(t *testing.T) {
264264 },
265265 },
266266 "nodeSelector" : "{{- toYaml .Values.nginx.nodeSelector | nindent 8 }}" ,
267- "serviceAccountName" : " {{ default \" default \" ( include \ " .serviceAccountName\ " .) }}" ,
267+ "serviceAccountName" : ` {{ include ".serviceAccountName" . }}` ,
268268 "tolerations" : "{{- toYaml .Values.nginx.tolerations | nindent 8 }}" ,
269269 "topologySpreadConstraints" : "{{- toYaml .Values.nginx.topologySpreadConstraints | nindent 8 }}" ,
270270 }, specMap )
@@ -310,7 +310,7 @@ func Test_pod_Process(t *testing.T) {
310310 },
311311 },
312312 "nodeSelector" : "{{- toYaml .Values.nginx.nodeSelector | nindent 8 }}" ,
313- "serviceAccountName" : " {{ default \" default \" ( include \ " .serviceAccountName\ " .) }}" ,
313+ "serviceAccountName" : ` {{ include ".serviceAccountName" . }}` ,
314314 "tolerations" : "{{- toYaml .Values.nginx.tolerations | nindent 8 }}" ,
315315 "topologySpreadConstraints" : "{{- toYaml .Values.nginx.topologySpreadConstraints | nindent 8 }}" ,
316316 }, specMap )
@@ -351,7 +351,7 @@ func Test_pod_Process(t *testing.T) {
351351 },
352352 "securityContext" : "{{- toYaml .Values.nginx.podSecurityContext | nindent 8 }}" ,
353353 "nodeSelector" : "{{- toYaml .Values.nginx.nodeSelector | nindent 8 }}" ,
354- "serviceAccountName" : " {{ default \" default \" ( include \ " .serviceAccountName\ " .) }}" ,
354+ "serviceAccountName" : ` {{ include ".serviceAccountName" . }}` ,
355355 "tolerations" : "{{- toYaml .Values.nginx.tolerations | nindent 8 }}" ,
356356 "topologySpreadConstraints" : "{{- toYaml .Values.nginx.topologySpreadConstraints | nindent 8 }}" ,
357357 }, specMap )
0 commit comments