Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Don't overtrim whitespace in templates/ingress.yaml (#12)
Browse files Browse the repository at this point in the history
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 <[email protected]>

Signed-off-by: Jakob Warkotsch <[email protected]>
  • Loading branch information
jakobw authored Oct 3, 2022
1 parent 452c9e2 commit 0c14db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -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" . }}
Expand Down

0 comments on commit 0c14db2

Please sign in to comment.