hubble-ui icon indicating copy to clipboard operation
hubble-ui copied to clipboard

v0.13.0 doesn't work with `baseUrl`

Open hellt opened this issue 1 year ago • 3 comments

Hi all, I've been serving hubble-ui under a baseUrl <domain>/baseUrl by setting the following in the chart values:

hubble:
  enabled: true
  relay:
    enabled: true
  ui:
    enabled: true
    baseUrl: "/hubble/"
    frontend:
      image:
        tag: "v0.12.3"
    backend:
      image:
        tag: "v0.12.3"

When switching to v0.13.0 tag for the FE and BE components the web app errors with

"Unexpected application error. 404 Not Found"

Latest working version for me is 0.12.3

hellt avatar Apr 28 '24 08:04 hellt

Looks like a duplicate of https://github.com/cilium/hubble-ui/issues/889

alex-berger avatar May 06 '24 19:05 alex-berger

Hubble UI via Rancher Proxy also broken since 0.13.0 But I'm not sure if this issue is related since on 0.12.3 it works fine without altering hubble.ui.baseUrl.

0.12.3: SCR-20240608-mylx

0.13.0: SCR-20240608-mzju

Values:

# /var/lib/rancher/rke2/server/manifests/rke2-cilium-config.yaml
---
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: rke2-cilium
  namespace: kube-system
spec:
  valuesContent: |-
    kubeProxyReplacement: true
    k8sServiceHost: lb-internal-ip
    k8sServicePort: 6443
    hubble:
      enabled: true
      relay:
        enabled: true
      ui:
        enabled: true
        frontend:
          image:
            tag: "v0.12.3"
        backend:
          image:
            tag: "v0.12.3"

tsunamaru avatar Jun 08 '24 17:06 tsunamaru

Maybe this is related to https://github.com/cilium/cilium/issues/29563?

alex-berger avatar Jul 04 '24 14:07 alex-berger