Skip to content

Commit d053f9a

Browse files
committed
enable helm templating in affinity section using tpl
1 parent cf188d4 commit d053f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/gateway/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ spec:
115115
{{- end }}
116116
{{- with .Values.affinity }}
117117
affinity:
118-
{{- toYaml . | nindent 8 }}
118+
{{- tpl (toYaml .) $ | nindent 8 }}
119119
{{- end }}
120120
{{- with .Values.tolerations }}
121121
tolerations:

0 commit comments

Comments
 (0)