Skip to content

Commit 3badbb3

Browse files
authored
fix(helm): Add conditional to include ruler config only when enabled (#15385)
1 parent 17bf32b commit 3badbb3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

‎production/helm/loki/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Entries should include a reference to the pull request that introduced the chang
1313

1414
[//]: # (<AUTOMATED_UPDATES_LOCATOR> : do not remove this line. This locator is used by the CI pipeline to automatically create a changelog entry for each new Loki release. Add other chart versions and respective changelog entries bellow this line.)
1515

16+
- [BUGFIX] Add conditional to include ruler config only if `ruler.enabled=true`
1617
- [BUGFIX] Disables the Helm test pod when `test.enabled=false`.
1718

1819
## 6.23.0

‎production/helm/loki/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ loki:
205205
{{- toYaml .Values.loki.testSchemaConfig | nindent 2}}
206206
{{- end }}
207207
208+
{{- if .Values.ruler.enabled }}
208209
{{ include "loki.rulerConfig" . }}
210+
{{- end }}
209211
210212
{{- if or .Values.tableManager.retention_deletes_enabled .Values.tableManager.retention_period }}
211213
table_manager:

0 commit comments

Comments
 (0)