Skip to content

chore: expose the gateway via KinD port mappings instead of port-forwarding - #645

Merged
paullatzelsperger merged 3 commits into
eclipse-dataspace-hub:mainfrom
paullatzelsperger:chore/traefik_hostport
Jul 16, 2026
Merged

paullatzelsperger merged 3 commits into
eclipse-dataspace-hub:mainfrom
paullatzelsperger:chore/traefik_hostport

Conversation

@paullatzelsperger

@paullatzelsperger paullatzelsperger commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

What this PR changes

Removes the need for kubectl port-forward to reach the gateway: Traefik binds hostPort 80/443 on the KinD node, and the new kind-config.yaml maps those ports onto the host. The gateway is reachable on http://localhost as soon as the Traefik chart is installed.

  • kind-config.yaml (new): host port mappings for 80/443 — existing clusters must be recreated with --config kind-config.yaml, and ports 80/443 must be free on the host.
  • values.yaml: hostPort 80/443 for the Traefik chart.
  • e2e workflow / tests / README: cluster creation passes the config, the port-forward step is gone, and test URLs hit *.localhost on port 80 in both local and CI runs.

Also contains two fixes found while testing locally:

  • Install gcompat in the (musl-based) Alpine runtime images, fixing an UnsatisfiedLinkError from Bouncy Castle's glibc-linked native probe on arm64.
  • Bump the DPS SDK to 1.0.0 and adapt to its API (transferType → profile, controllers instantiated directly), fixing an HTTP 500 on /v1/dataflows/prepare caused by the field rename; the profile checks are now null-safe so mismatches surface as errors with a reason instead of an opaque 500.

Same change as eclipse-dataspace-hub/jad#50.

🤖 Generated with Claude Code

Traefik now binds hostPorts 80/443 on the single KinD node, and the new
kind-config.yaml maps those ports onto the host, so the gateway is reachable
on http://localhost without any kubectl port-forward. The e2e workflow and
test URLs are adapted accordingly, unifying local and CI access on port 80.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@paullatzelsperger paullatzelsperger added the enhancement New feature or request label Jul 16, 2026
@paullatzelsperger
paullatzelsperger merged commit 17bb5b8 into eclipse-dataspace-hub:main Jul 16, 2026
8 checks passed
@paullatzelsperger
paullatzelsperger deleted the chore/traefik_hostport branch July 16, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants