Activated domains creation for svc-db- due to that the domains are used for certificate creation and they need it to use secure communication

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-25 21:12:45 +02:00
parent 552bb1bbae
commit 3549f4de32
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -18,7 +18,10 @@ class FilterModule(object):
seen_domains = {} seen_domains = {}
for app_id, cfg in apps.items(): for app_id, cfg in apps.items():
if app_id.startswith(("web-")): if app_id.startswith((
"web-",
"svc-db-" # Database services can also be exposed to the internet. It is just listening to the port, but the domain is used for port mapping
)):
if not isinstance(cfg, dict): if not isinstance(cfg, dict):
raise AnsibleFilterError( raise AnsibleFilterError(
f"Invalid configuration for application '{app_id}': " f"Invalid configuration for application '{app_id}': "