From 1ba8f15d26787f6a48bfbb85c869e9c21e03ca2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Mon, 6 Jan 2025 13:35:38 +0100
Subject: [PATCH] [FIX] add networks only if in full_maintenance

---
 templates/inverseproxy.yaml.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/inverseproxy.yaml.j2 b/templates/inverseproxy.yaml.j2
index 1253656..5592533 100644
--- a/templates/inverseproxy.yaml.j2
+++ b/templates/inverseproxy.yaml.j2
@@ -49,14 +49,14 @@ services:
             - "0.0.0.0:80:80/tcp"
             - "0.0.0.0:443:443/tcp"
             - "0.0.0.0:443:443/udp"
-{% if inventory_hostname in groups['maintenance_contract'] %}
+{% if inventory_hostname in groups['full_maintenance'] %}
             - "0.0.0.0:8443:8443/tcp"
             - "0.0.0.0:8443:8443/udp"
 {% endif %}
             - "[::]:80:80/tcp"
             - "[::]:443:443/tcp"
             - "[::]:443:443/udp"
-{% if inventory_hostname in groups['maintenance_contract'] %}
+{% if inventory_hostname in groups['full_maintenance'] %}
             - "[::]:8443:8443/tcp"
             - "[::]:8443:8443/udp"
 {% endif %}
-- 
GitLab