Skip to content

Commit 2a6a190

Browse files
joschi36jkroepke
andauthored
use suggested patten
Co-authored-by: Jan-Otto Kröpke <[email protected]> Signed-off-by: Joshua Hügli <[email protected]>
1 parent 08003ff commit 2a6a190

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

production/helm/loki/templates/_helpers.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,9 @@ http {
812812
{{- end }}
813813

814814
location = / {
815-
{{ .Values.gateway.nginxConfig.locationSnippet | nindent 6 }}
815+
{{- with .Values.gateway.nginxConfig.locationSnippet }}
816+
{{- . | nindent 6 }}
817+
{{- end }}
816818
return 200 'OK';
817819
auth_basic off;
818820
}

0 commit comments

Comments
 (0)