Lower needed exposed ports warning to info

OK for jellyfin_ynh, for instance
This commit is contained in:
tituspijean 2023-08-27 17:35:07 +02:00
parent afdefcc44b
commit 48ee085440
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -2600,7 +2600,7 @@ class Script(TestSuite):
if self.contains("yunohost firewall allow") and not self.contains(
"--needs_exposed_ports"
):
yield Warning(
yield Info(
"You used 'yunohost firewall allow' to expose a port on the outside but did not use 'yunohost service add' with '--needs_exposed_ports' ... If you are ABSOLUTELY SURE that the service needs to be exposed on THE OUTSIDE, then add '--needs_exposed_ports' to 'yunohost service add' with the relevant port number. Otherwise, opening the port leads to a significant security risk and you should keep the damn port closed !"
)