diff --git a/charts/k8s-monitoring-v1/templates/alloy_config/_operator_objects.txt b/charts/k8s-monitoring-v1/templates/alloy_config/_operator_objects.txt index 5333a55d2..4e5922b96 100644 --- a/charts/k8s-monitoring-v1/templates/alloy_config/_operator_objects.txt +++ b/charts/k8s-monitoring-v1/templates/alloy_config/_operator_objects.txt @@ -139,7 +139,7 @@ loki.source.podlogs "podlogs_objects" { {{ .Values.logs.podLogsObjects.selector | indent 4 }} } {{- end }} -{{- if (index .Values "alloy-logs").alloy.clustering.enabled }} +{{- if .Values.alloy.alloy.clustering.enabled }} clustering { enabled = true }