Trow-Registry / trow

Container Registry and Image Management for Kubernetes Clusters
https://trow.io
Apache License 2.0
912 stars 102 forks source link

Trow unreachable over IPv6 #333

Open YannikSc opened 1 year ago

YannikSc commented 1 year ago

Describe the bug

When running a cluster with DualStack/IPv6 trow is not reachable as it only listens on 0.0.0.0 (all IPv4 interfaces).

This could be mitigated by letting Trow/Rocket listen by default on :: (actually all interfaces IPv4 and IPv6).

Another workaround would be to allow the helm chart to set the --host flag.

To Reproduce

Expected behavior

Trow is reachable at the configured domain through the ingress/directly via IPv6

Trow Info

Kubernetes

awoimbee commented 1 year ago

Note that Trow uses Rocket, which does not support listening to multiple addresses in a single instance. The workaround described here might work tho: https://github.com/SergioBenitez/Rocket/issues/1581. Otherwise the solution is to have multiple instances of rocket running (like I did here).

amouat commented 1 year ago

Thanks @awoimbee !