Skip to content

Commit 0c38b94

Browse files
fix(helm): Disable service monitor for nginx service (#12746)
Co-authored-by: Vladyslav Diachenko <82767850+vlad-diachenko@users.noreply.github.com>
1 parent 5c8e832 commit 0c38b94

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

‎production/helm/loki/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ 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+
## 6.25.1
17+
18+
- [BUGFIX] Disable service monitor for nginx service.
19+
1620
## 6.25.0
1721

1822
- [BUGFIX] Removed minio-mc init container from admin-api.

‎production/helm/loki/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: loki
33
description: Helm chart for Grafana Loki and Grafana Enterprise Logs supporting both simple, scalable and distributed modes.
44
type: application
55
appVersion: 3.3.2
6-
version: 6.25.0
6+
version: 6.25.1
77
home: https://grafana.github.io/helm-charts
88
sources:
99
- https://github.com/grafana/loki

‎production/helm/loki/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# loki
22

3-
![Version: 6.25.0](https://img.shields.io/badge/Version-6.25.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.3.2](https://img.shields.io/badge/AppVersion-3.3.2-informational?style=flat-square)
3+
![Version: 6.25.1](https://img.shields.io/badge/Version-6.25.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.3.2](https://img.shields.io/badge/AppVersion-3.3.2-informational?style=flat-square)
44

55
Helm chart for Grafana Loki and Grafana Enterprise Logs supporting both simple, scalable and distributed modes.
66

@@ -15,7 +15,7 @@ Helm chart for Grafana Loki and Grafana Enterprise Logs supporting both simple,
1515
| Repository | Name | Version |
1616
|------------|------|---------|
1717
| https://charts.min.io/ | minio(minio) | 5.4.0 |
18-
| https://grafana.github.io/helm-charts | grafana-agent-operator(grafana-agent-operator) | 0.5.0 |
18+
| https://grafana.github.io/helm-charts | grafana-agent-operator(grafana-agent-operator) | 0.5.1 |
1919
| https://grafana.github.io/helm-charts | rollout_operator(rollout-operator) | 0.23.0 |
2020

2121
Find more information in the Loki Helm Chart [documentation](https://grafana.com/docs/loki/next/installation/helm).

‎production/helm/loki/templates/gateway/service-gateway.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ metadata:
1212
{{- with .Values.gateway.service.labels }}
1313
{{- toYaml . | nindent 4}}
1414
{{- end }}
15+
{{- if not (and .Values.enterprise.enabled .Values.enterprise.gelGateway) }}
16+
prometheus.io/service-monitor: "false"
17+
{{- end }}
1518
annotations:
1619
{{- with .Values.loki.serviceAnnotations }}
1720
{{- toYaml . | nindent 4}}

0 commit comments

Comments
 (0)