diff --git a/charts/consul/templates/api-gateway-gatewayclassconfig.yaml b/charts/consul/templates/api-gateway-gatewayclassconfig.yaml index 8a2add8684..886514c922 100644 --- a/charts/consul/templates/api-gateway-gatewayclassconfig.yaml +++ b/charts/consul/templates/api-gateway-gatewayclassconfig.yaml @@ -41,8 +41,8 @@ spec: {{- end }} {{ - if .Values.apiGateway.managedGatewayClass.tolerations }} tolerations: - { { tpl .Values.apiGateway.managedGatewayClass.tolerations . | indent 4 | trim } } - { { - end } } + {{ tpl .Values.apiGateway.managedGatewayClass.tolerations . | indent 4 | trim }} + {{ - end }} {{- if .Values.apiGateway.managedGatewayClass.copyAnnotations.service }} copyAnnotations: service: