Repository navigation
docs: add migration guide from backstage chart (1.y) to rhdh chart (2.y) [RHIDP-16514] - #516
Conversation
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
- 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
31d9627 to
010b9a4
Compare
backstage chart (1.y) to rhdh chart (2.y)
…tion guide Ref: RHIDP-16514
0388cd0 to
6ebc267
Compare
Match the old backstage chart's nameOverride so that resource names (and OpenShift Route URLs) are preserved during migration. Ref: RHIDP-16514
backstage chart (1.y) to rhdh chart (2.y)backstage chart (1.y) to rhdh chart (2.y) [RHIDP-16514]
…-1-y-to-2-y-migration-guide-and-tooling-for-rhdh-helm-chart-users
- 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)
- 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
…-1-y-to-2-y-migration-guide-and-tooling-for-rhdh-helm-chart-users # Conflicts: # charts/rhdh/Chart.yaml # charts/rhdh/README.md
Ref: RHIDP-16514
- 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
Ref: RHIDP-16514
- 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
- 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
The install-dynamic-plugins init container is configurable via dynamicPlugins.initContainer.* — not fully hardcoded. Ref: RHIDP-16514
Ref: RHIDP-16514
…-1-y-to-2-y-migration-guide-and-tooling-for-rhdh-helm-chart-users # Conflicts: # charts/rhdh/Chart.yaml # charts/rhdh/README.md
PR Summary by QodoAdd backstage-to-RHDH Helm chart migration guide
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
|
/cherrypick release-2.1 |
|
@rm3l: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Code Review by Qodo
1.
|
|
Important The |
- 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
…-1-y-to-2-y-migration-guide-and-tooling-for-rhdh-helm-chart-users
There was a problem hiding this comment.
Thanks for pushing this PR, @rm3l, it reads well and looks great.
This is the page people will follow during an upgrade, and it already has the mapping tables we need. The comments below are the same kind of edit in each place: make the first sentence the reader sees match the table, and point at the doc we already have instead of sending them to invent the next step.
…-1-y-to-2-y-migration-guide-and-tooling-for-rhdh-helm-chart-users
- 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
a50c0c9 to
71a15aa
Compare
Lightspeed was already enabled by default in the old chart, so the new chart's default hasn't changed — only the key name has.
|
ae6caa6
into
redhat-developer:main
|
@rm3l: #516 failed to apply on top of branch "release-2.1": DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
…t (2.y) [RHIDP-16514] (#516) (#570) * 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



Description of the change
Migration guidance with a complete values mapping reference for moving from the legacy
backstagechart (RHDH 1.y) to the newredhat-developer-hubchart (RHDH 2.y).The guide covers:
helm upgradein place)Which issue(s) does this PR fix or relate to
How to test changes / Special notes to the reviewer
Documentation-only change. Review the mapping tables in
docs/migration-from-backstage-chart.mdagainst thevalues.yamlfiles of both charts for accuracy.Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Runpre-commit run --all-filesto run the hooks and then push any resulting changes. The pre-commit Workflow will enforce this and warn you if needed.pre-commithook.ct lintcommand.