diff --git a/charts/loki-distributed/Chart.yaml b/charts/loki-distributed/Chart.yaml index f800a83254..1e25cdfe7b 100644 --- a/charts/loki-distributed/Chart.yaml +++ b/charts/loki-distributed/Chart.yaml @@ -3,7 +3,7 @@ name: loki-distributed description: Helm chart for Grafana Loki in microservices mode type: application appVersion: 2.9.2 -version: 0.77.0 +version: 0.78.0 home: https://grafana.github.io/helm-charts sources: - https://github.com/grafana/loki diff --git a/charts/loki-distributed/values.yaml b/charts/loki-distributed/values.yaml index 97faee7d98..e98d71494a 100644 --- a/charts/loki-distributed/values.yaml +++ b/charts/loki-distributed/values.yaml @@ -1278,6 +1278,7 @@ gateway: } # Ruler + {{- if .Values.ruler.enabled }} location ~ /prometheus/api/v1/alerts.* { proxy_pass http://{{ include "loki.rulerFullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}:3100$request_uri; } @@ -1290,6 +1291,7 @@ gateway: location ~ /api/prom/alerts.* { proxy_pass http://{{ include "loki.rulerFullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}:3100$request_uri; } + {{- end }} location ~ /api/prom/.* { set $api_prom_backend http://{{ include "loki.queryFrontendFullname" . }}-headless.{{ .Release.Namespace }}.svc.{{ .Values.global.clusterDomain }};