From 0f47fe5a81106e6152e886bab0f93b02aa4ee590 Mon Sep 17 00:00:00 2001 From: "solen.bellouati" Date: Tue, 20 Feb 2024 15:27:05 +0100 Subject: [PATCH] grafana - remove error in jinja templating --- templates/compose/grafana-prometheus.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/compose/grafana-prometheus.yml.j2 b/templates/compose/grafana-prometheus.yml.j2 index c44e742..a47aab2 100644 --- a/templates/compose/grafana-prometheus.yml.j2 +++ b/templates/compose/grafana-prometheus.yml.j2 @@ -70,7 +70,7 @@ services: {% if grafana_traefik_ipwhitelist is defined %} traefik.http.middlewares.grafana-clientips.ipwhitelist.sourcerange: {{ grafana_traefik_ipwhitelist }} traefik.http.routers.grafana.middlewares: "grafana-clientips@docker" -{% else %} +{% endif %} ports: - "{{ grafana_port | default(3000) }}:3000" {% endif %} @@ -103,7 +103,7 @@ services: {% if prometheus_traefik_ipwhitelist is defined %} traefik.http.middlewares.prometheus-clientips.ipwhitelist.sourcerange: {{ prometheus_traefik_ipwhitelist }} traefik.http.routers.prometheus.middlewares: "prometheus-clientips@docker" -{% else %} +{% endif %} ports: - "{{ prometheus_port | default(9090) }}:9090" {% endif %}