Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-1106

Helm chart does not preserve pathRewrite order, breaking Learning Paths proxy config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0
    • 1.3.0
    • Helm Chart
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Note Not Required

      The RHDH Helm chart currently sorts pathRewrite keys alphabetically when generating the app-config.yaml ConfigMap, leading to incorrect behavior for Learning Paths. The overlapping base paths for /developer-hub and /developer-hub/learning-paths require a specific key order, which is lost when Helm renders values.yaml.

      This results in Learning Paths failing to load (404), as the homepage proxy path takes precedence due to sorting. This contradicts the documentation which explicitly warns that learning-paths must appear before developer-hub in the config.

      The issue is observed on Azure Kubernetes Service (AKS) in RHDH 1.3, but likely affects all Helm deployments using overlapping pathRewrites.

      Environment:

      • RHDH version: 1.3
      • Platform: Azure Kubernetes Service (AKS)
      • Deployment method: Helm
      • Affected component: Helm values.yaml, ConfigMap rendering

              rh-ee-fndlovu Fortune Ndlovu
              rh-ee-fndlovu Fortune Ndlovu
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: