From 0c14db2d66b95f751cbfcdbf26c9bd8df68e9a42 Mon Sep 17 00:00:00 2001 From: Jakob Warkotsch Date: Mon, 3 Oct 2022 14:26:30 +0200 Subject: [PATCH] Don't overtrim whitespace in templates/ingress.yaml (#12) This does not affect the ingress definition itself but fixes a problem that occurs with a recent version of `helmfile lint` where trimming the whitespace to the left and right side of the first if-statement in the template causes the first line declaring the `apiVersion` property to jump onto the same line as the document separator `---`. Signed-off-by: Jakob Warkotsch Signed-off-by: Jakob Warkotsch --- templates/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/ingress.yaml b/templates/ingress.yaml index abbcadc..4c275e2 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -1,5 +1,5 @@ --- -{{- if .Values.ingress.enabled -}} +{{ if .Values.ingress.enabled -}} {{- $fullName := include "adminer.fullname" . -}} {{- $ingressPath := .Values.ingress.path -}} apiVersion: {{ include "adminer.ingress.apiVersion" . }}