Repository navigation
[release-2.1] docs: add migration guide from backstage chart (1.y) to rhdh chart (2.y) [RHIDP-16514] - #570
Conversation
…t (2.y) [RHIDP-16514] (redhat-developer#516) * docs: add migration guide from backstage chart (1.y) to rhdh chart (2.y) Add a values mapping reference under docs/ covering all path changes between the legacy backstage chart and the new redhat-developer-hub chart. Link to it from the README migration section and replace the WIP placeholder with actionable guidance. Ref: RHIDP-16514 * docs: improve migration guide wording and instructions - Use GitHub alert syntax for the important notice - Guide users to locate their existing values file first - Use helm upgrade --install to handle both existing and new releases Ref: RHIDP-16514 * docs: highlight image digest fields and global.imageRegistry in migration guide Ref: RHIDP-16514 * fix: default nameOverride to developer-hub for URL continuity Match the old backstage chart's nameOverride so that resource names (and OpenShift Route URLs) are preserved during migration. Ref: RHIDP-16514 * docs: note that nameOverride preserves resource names during migration Ref: RHIDP-16514 * docs: update migration guide for accuracy after upstream merge - Remove stale ragInit mappings (init container no longer exists) - Fix intelligentAssistant config paths (server removed, only stack/profile) - Add prerequisites section (Kubernetes 1.31+ / OpenShift 4.18+) - Document default-deny NetworkPolicy behavioral change - Add missing value mappings: pod scheduling, serviceAccount, extraAppConfig, extraEnvFrom - List new features with no old-chart equivalent (StatefulSet, HTTPRoute, PodDisruptionBudget, externalDatabase, OKP) * docs: expand migration guide with comprehensive value mappings - Add clarification note: guide covers changed, removed, or semantically different values only; unchanged fields carry over as-is - Add schema validation behavioral note (JSON Schema rejects stale keys) - Add chart-level overrides: nameOverride, fullnameOverride, commonLabels, commonAnnotations - Add image digest and imagePullSecrets mappings - Expand pod scheduling: revisionHistoryLimit, strategy, deploymentAnnotations, topologySpreadConstraints, hostAliases - Add podSecurityContext mapping - Add extraEnvVarsCM → extraEnvFrom mapping - Expand service section with all fields (type, port, nodePort, etc.) - Expand ingress section (className, annotations, path, tls restructuring) - Add autoscaling (HPA), PDB, and HTTPRoute mapping tables - Add network policy mapping (old toggle removed, now always-on) - Expand metrics with interval, labels, annotations - Add removed values section (installDir, containerPorts, lifecycleHooks, etc.) - Remove trivial identical-path entries to reduce bloat * chore(rhdh): bump chart version to 3.4.2 Ref: RHIDP-16514 * docs: fix migration guide inaccuracies found during review - Fix old path names: replicas (not replicaCount), automountServiceAccountToken (not automount) - Add missing mappings: serviceAccount.labels, extraDeploy, extraContainers - Move lifecycleHooks, priorityClassName, terminationGracePeriodSeconds from removed table to mapping table (now supported) - Clarify dropped config.yaml entry in Intelligent Assistant configMaps Ref: RHIDP-16514 * docs: clarify Intelligent Assistant configMaps migration note Ref: RHIDP-16514 * docs: add remaining missing and hardcoded values to migration guide - Add global.imageRegistry to Global parameters mapping - Add lightspeed sidecar.imagePullPolicy mapping - Add lightspeed ragVolume.* as removed - Add hardcoded lightspeed fields (sidecar.name, portName, containerPort, runtimeVolume.name, runtimeVolume.mountPath) - Add lightspeed secret.optional as removed - Add orchestrator dbCreationJob flat-to-nested field mappings Ref: RHIDP-16514 * docs: fix migration guide accuracy against upstream backstage chart - Restore priorityClassName, terminationGracePeriodSeconds, and lifecycleHooks as proper old-to-new mappings (they exist in the upstream backstage chart) - Add Notes column to Container image table for consistency - Fix incomplete helm template command - Unify _(managed by chart)_ to _(hardcoded)_ terminology - Reword extraPorts from "Use X instead" to "Moved to X" Ref: RHIDP-16514 * docs: clarify init container configurability in migration guide The install-dynamic-plugins init container is configurable via dynamicPlugins.initContainer.* — not fully hardcoded. Ref: RHIDP-16514 * docs: add statefulSetPVC guidance for StatefulSet workload Ref: RHIDP-16514 * run pre-commit hooks * run pre-commit hooks * docs: address Qodo review feedback on migration guide - Steer users to extraArgs instead of argsOverride to avoid suppressing system --config flags - Clarify that the new chart does not create a placeholder secret and link to secret.example.yaml - Soften schema validation language — stale top-level keys may pass silently - Add explicit ingress field renames (name→host, TLS entry shape) Ref: RHIDP-16514 * docs: address PR review feedback and improve migration guide - Add link to NetworkPolicies README section - Reframe external database as existing concept with new dedicated block - Add PostgreSQL 15→18 image change warning in mapping table - Remove duplicate extraPorts entry from removed values table - Fix global.imageRegistry: existed via Bitnami but was undocumented - Add namespace flag and pre-upgrade warnings to migration steps - Unwrap paragraph line breaks for readability * docs: fix Intelligent Assistant default description in migration guide Lightspeed was already enabled by default in the old chart, so the new chart's default hasn't changed — only the key name has. * docs: fix NetworkPolicies link anchor in migration guide
|
PR Summary by QodoDocument migration from the backstage chart to RHDH 2.y
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
1. Existing databases may start with PostgreSQL 18
|
|
Important The |
7fd2d70
into
redhat-developer:release-2.1



manual cherrypick of #516