Allow ports with access "docker" that only document #61

Merged
kevinheyer merged 1 commit from ports-access-docker into main 2026-11-22 12:34:14 +01:00
Owner

An app may reach some ports only from the Docker networks (the cache
of iac-forgejo-runner) and brings its own firewall rule for them. With
access "docker" such a port is listed in iac.json but gets no rule in
50-.nft, is left out of the adopt warning, and the generic smoke
test neither expects a listener nor a firewall rule for it (the service
may be stopped without registration).

Tested: tools/lint.sh passes; the template renders no rule for the
docker port and unchanged rules for public and private ports;
check-app.sh of iac-forgejo-runner with the new ports green, twice.
Not tested: check-all-apps.sh.

An app may reach some ports only from the Docker networks (the cache of iac-forgejo-runner) and brings its own firewall rule for them. With access "docker" such a port is listed in iac.json but gets no rule in 50-<app>.nft, is left out of the adopt warning, and the generic smoke test neither expects a listener nor a firewall rule for it (the service may be stopped without registration). Tested: tools/lint.sh passes; the template renders no rule for the docker port and unchanged rules for public and private ports; check-app.sh of iac-forgejo-runner with the new ports green, twice. Not tested: check-all-apps.sh.
Allow ports with access "docker" that only document
All checks were successful
/ lint (push) Successful in 17s
/ lint (pull_request) Successful in 17s
210b659791
An app may reach some ports only from the Docker networks (the cache
of iac-forgejo-runner) and brings its own firewall rule for them. With
access "docker" such a port is listed in iac.json but gets no rule in
50-<app>.nft, is left out of the adopt warning, and the generic smoke
test neither expects a listener nor a firewall rule for it (the service
may be stopped without registration).

Tested: tools/lint.sh passes; the template renders no rule for the
docker port and unchanged rules for public and private ports;
check-app.sh of iac-forgejo-runner with the new ports green, twice.
Not tested: check-all-apps.sh.
Sign in to join this conversation.
No description provided.