diff --git a/docs/sources/installation/helm/reference.md b/docs/sources/installation/helm/reference.md index 57cd10a458..10069ce060 100644 --- a/docs/sources/installation/helm/reference.md +++ b/docs/sources/installation/helm/reference.md @@ -1114,6 +1114,15 @@ false
 ""
 
+ + + + gateway.ingress.labels + object + Labels for the gateway ingress +
+{}
+
diff --git a/production/helm/loki/CHANGELOG.md b/production/helm/loki/CHANGELOG.md index 7d97765ab2..f4d4f3fb2c 100644 --- a/production/helm/loki/CHANGELOG.md +++ b/production/helm/loki/CHANGELOG.md @@ -13,6 +13,10 @@ Entries should include a reference to the pull request that introduced the chang [//]: # ( : 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.) +## 5.6.0 + +- [ENHANCEMENT] Add `gateway.ingress.labels` to values and ingress-gateway in helm chart. + ## 5.5.12 - [BUGFIX] Fix checksum annotation for config in single binary diff --git a/production/helm/loki/Chart.yaml b/production/helm/loki/Chart.yaml index 0d09566321..f55e1e896c 100644 --- a/production/helm/loki/Chart.yaml +++ b/production/helm/loki/Chart.yaml @@ -3,7 +3,7 @@ name: loki description: Helm chart for Grafana Loki in simple, scalable mode type: application appVersion: 2.8.2 -version: 5.5.12 +version: 5.6.0 home: https://grafana.github.io/helm-charts sources: - https://github.com/grafana/loki diff --git a/production/helm/loki/README.md b/production/helm/loki/README.md index 6686d87674..9d2a6bfbe2 100644 --- a/production/helm/loki/README.md +++ b/production/helm/loki/README.md @@ -1,6 +1,6 @@ # loki -![Version: 5.5.12](https://img.shields.io/badge/Version-5.5.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square) +![Version: 5.6.0](https://img.shields.io/badge/Version-5.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square) Helm chart for Grafana Loki in simple, scalable mode diff --git a/production/helm/loki/templates/gateway/ingress-gateway.yaml b/production/helm/loki/templates/gateway/ingress-gateway.yaml index 2df290ecc1..44885f6bba 100644 --- a/production/helm/loki/templates/gateway/ingress-gateway.yaml +++ b/production/helm/loki/templates/gateway/ingress-gateway.yaml @@ -10,6 +10,9 @@ metadata: namespace: {{ $.Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} + {{- range $labelKey, $labelValue := .Values.gateway.ingress.labels }} + {{ $labelKey }}: {{ $labelValue | toYaml }} + {{- end }} {{- with .Values.gateway.ingress.annotations }} annotations: {{- toYaml . | nindent 4 }} diff --git a/production/helm/loki/values.yaml b/production/helm/loki/values.yaml index 3e47270575..132f0fc87e 100644 --- a/production/helm/loki/values.yaml +++ b/production/helm/loki/values.yaml @@ -1254,6 +1254,8 @@ gateway: ingressClassName: "" # -- Annotations for the gateway ingress annotations: {} + # -- Labels for the gateway ingress + labels: {} # -- Hosts configuration for the gateway ingress hosts: - host: gateway.loki.example.com