gyurix e5e19835f9
continuous-integration/drone/push Build is passing
fix: use prefix matching instead of dash stripping for container resolution
The previous logic stripped dashes from both the lookup name and container/selector names, performing an exact match after removal. This failed for cases like "wireguardproxy-client" matching "wireguardproxyclient" or "app-1"/"app-2" matching "app-x", because the dash removal produced different strings.

Change to extract the prefix before the first dash in the lookup name, then match it against the beginning of container/selector names. This preserves the intended relationship while allowing matching of dashed variants with prefix-based patterns.
2026-06-15 12:00:26 +02:00
2026-06-12 09:11:56 +02:00
2026-06-12 09:07:00 +02:00
2026-06-12 09:07:00 +02:00
Description
Dockerfile and firewall rules creater from services jsons.
5.8 MiB
Languages
Go 78.9%
Shell 20.6%
Dockerfile 0.5%