Skip to content

Commit 862ceed

Browse files
committed
fix(loki): fix copy-paste typo in enableServiceLinks coalesce chain
The fallback condition for loki.enableServiceLinks incorrectly checked loki.hostUsers instead of loki.enableServiceLinks. This meant setting loki.enableServiceLinks had no effect unless loki.hostUsers happened to also be a boolean. Signed-off-by: Quentin Bisson <quentin.bisson@gmail.com>
1 parent 55a4989 commit 862ceed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/loki/templates/_pod.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ spec:
4141
enableServiceLinks: {{ $component.enableServiceLinks }}
4242
{{- else if (kindIs "bool" .Values.defaults.enableServiceLinks) }}
4343
enableServiceLinks: {{ .Values.defaults.enableServiceLinks }}
44-
{{- else if (kindIs "bool" .Values.loki.hostUsers) }}
44+
{{- else if (kindIs "bool" .Values.loki.enableServiceLinks) }}
4545
enableServiceLinks: {{ .Values.loki.enableServiceLinks }}
4646
{{- end }}
4747
{{- if (kindIs "bool" $component.automountServiceAccountToken) }}

0 commit comments

Comments
 (0)