Commit Graph

7 Commits

Author SHA1 Message Date
gyurix
e5e19835f9 fix: use prefix matching instead of dash stripping for container resolution
continuous-integration/drone/push Build is passing
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
gyurix
f9513cd98a fix(resolver): strip all dashes when matching container names
continuous-integration/drone/push Build is failing
Instead of prefix matching on the part before the first dash, now strip
all dashes from both the lookup name and the stored container/selector
names and compare exactly. This improves matching accuracy for names
containing multiple dashes or dashes in varying positions.
2026-06-15 11:55:00 +02:00
gyurix
e990ecfeb4 updated drone steps
continuous-integration/drone/push Build was killed
2026-06-12 09:07:00 +02:00
gyurix
154de77259 added network go cicd pipeline
continuous-integration/drone/push Build was killed
2026-06-12 09:04:46 +02:00
gyurix
fcda599ec7 added test go implementation
continuous-integration/drone/push Build encountered an error
2026-06-08 17:02:13 +02:00
gyurix
a555cce680 reconfigured the network stack and modified readme file
continuous-integration/drone/push Build encountered an error
2026-06-08 16:37:44 +02:00
gyurix
c3de398f35 added network-go project
continuous-integration/drone/push Build encountered an error
2026-06-08 15:34:01 +02:00