ClickHouse / ClickHouse/ClickStack-helm-charts
Feature Request: Support custom basePath (subpath deployment) for HyperDX UI
- Lingua principale
- Shell
- Stelle
- 75
- Fork
- 54
- Merge medio
- 3g 19h
- PR unite (30g)
- 7
Descrizione
### Description
Currently, the HyperDX UI is deployed assuming access at the root ("/") path. In deployments behind a reverse proxy or ingress under a subpath (e.g., `https://example.com/observe/`), asset paths like `/_next/static/...` break, causing UI rendering issues.
### Proposal
Add Helm chart support to configure a custom base path, such as:
```yaml
hyperdx:
basePath: "/observe"
```
### This would:
- Set the Next.js basePath and assetPrefix appropriately.
- Adjust redirect logic to use the configured subpath.
- Allow the application to function correctly when served under paths other than /.
### Justification
Many deployments are used behind reverse proxies with path-based routing. In these scenarios, being able to configure a custom base path is essential to ensure that the UI works as expected. This functionality would be highly appreciated by users who need to integrate HyperDX alongside other services on the same domain.
### References
Next.js basePath documentation: https://nextjs.org/docs/pages/api-reference/next-config-js/basePath
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia individuando i valori del chart Helm e la configurazione Next.js e la logica di redirect della UI di HyperDX. Analizza in che modo un base path `/observe` configurato influirebbe sugli asset statici e sui redirect, quindi verifica che la UI venga renderizzata e che la navigazione funzioni quando viene servita sotto questo sottopercorso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- helm, next.js
- Ambito
- devops, frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100