cilium / hubble-ui

Observability & Troubleshooting for Kubernetes Services

Home Page:https://www.cilium.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v0.13.0 doesn't work with `baseUrl`

hellt opened this issue · 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

Looks like a duplicate of #889

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"

Maybe this is related to cilium/cilium#29563?