Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for context path in Kubernetes running behind Traefik Load Balancer #352

Open
gamodg opened this issue Jan 18, 2024 · 1 comment

Comments

@gamodg
Copy link

gamodg commented Jan 18, 2024

I want to serve registry-gui from the context path /registry

If I can use a setting in helm chart that allows setting the context-path.

Tried Traefik with StripPrefix middleware but getting 404 for css and js files

Helm Chart values.yml

ui:
    title: "Local Registry"
    proxy: true
    deleteImages: true
    ingress:
      enabled: true
      path: /registry
      ingressClassName: traefik
      annotations:
        kubernetes.io/ingress.class: traefik
        traefik.ingress.kubernetes.io/router.entrypoints: web
        traefik.ingress.kubernetes.io/rule-type: PathPrefixStrip

https://artifacthub.io/packages/helm/joxit/docker-registry-ui
Setting ui.ingress.path to /registry but its not working

@Joxit
Copy link
Owner

Joxit commented Jan 24, 2024

Hi, I'm using relative path in the project exactly for this reason. Try with /registry/ (with dangling slash)

      path: /registry/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants