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

cAdvisor ignores url_base_prefix for Podman panel #3623

Open
jrgn9 opened this issue Nov 8, 2024 · 0 comments
Open

cAdvisor ignores url_base_prefix for Podman panel #3623

jrgn9 opened this issue Nov 8, 2024 · 0 comments

Comments

@jrgn9
Copy link

jrgn9 commented Nov 8, 2024

    command:
      - "-url_base_prefix=/ext/cadvisor"

When using the command -url_base_prefix={my-path} it seems like this option is ignored for the Podman panel in cAdvisor. I need to use this option because I am doing a reverse proxy with HAProxy and am redirecting the webpanel to a url endpoint on the frontend of my main application.

Every link is redirecting to my chosen url base prefix, except for the "Podman Containers" link. Clicking the link "Docker Containers" which points to {application-url}/ext/cadvisor/docker works fine. However, clicking the link "Podman Containers" which also points at {application-url}/ext/cadvisor/podman redirects me to {application-url}/podman/. I can access the Podman panel by writing {application-url}/ext/cadvisor/podman/ (with a trailing slash). Writing {application-url}/ext/cadvisor/podman (without trailing slash) redirects me to {application-url}/podman/.

Every other link works just fine, so it seems to me that somehow the Podman link/redirect do not use the -url_base_prefix option or implements it wrong.

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

1 participant