From 7a690a805a14e9a96bd89cb71c6503f23c037574 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Wed, 2 Sep 2026 17:48:19 +0200 Subject: [PATCH 01/20] 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 --- charts/rhdh/Chart.yaml | 2 +- charts/rhdh/README.md | 283 +++++++++--------- charts/rhdh/README.md.gotmpl | 4 +- .../docs/migration-from-backstage-chart.md | 241 +++++++++++++++ 4 files changed, 385 insertions(+), 145 deletions(-) create mode 100644 charts/rhdh/docs/migration-from-backstage-chart.md diff --git a/charts/rhdh/Chart.yaml b/charts/rhdh/Chart.yaml index 29620c62b..b1c1ade87 100644 --- a/charts/rhdh/Chart.yaml +++ b/charts/rhdh/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: redhat-developer-hub type: application -version: 2.0.0 +version: 2.0.1 appVersion: 2.1.0 annotations: artifacthub.io/category: integration-delivery diff --git a/charts/rhdh/README.md b/charts/rhdh/README.md index d359da0d7..d1188e4d3 100644 --- a/charts/rhdh/README.md +++ b/charts/rhdh/README.md @@ -1,7 +1,6 @@ - # RHDH Helm Chart for OpenShift and Kubernetes -![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) +![Version: 2.0.1](https://img.shields.io/badge/Version-2.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Helm chart for deploying Red Hat Developer Hub, which is a Red Hat supported version of Backstage. @@ -36,7 +35,7 @@ For the **Generally Available** version of this chart, see: helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart -helm install my-rhdh redhat-developer/redhat-developer-hub --version 2.0.0 +helm install my-rhdh redhat-developer/redhat-developer-hub --version 2.0.1 ``` ## Introduction @@ -159,9 +158,9 @@ The command removes all the Kubernetes components associated with the chart and ## Upgrading from the backstage chart (RHDH 1.y) -> **Note:** This section is a work in progress. A detailed migration guide will be provided before the GA release of RHDH 2.y. +If you are upgrading from the legacy `backstage` chart (used in RHDH 1.y), the new `redhat-developer-hub` chart is a clean break. The values structure has changed significantly — all `global.*` and `upstream.backstage.*` nesting has been flattened to root-level keys. You cannot pass your old values file directly to the new chart; you must migrate your values first, then `helm upgrade` the release in place. -If you are upgrading from the legacy `backstage` chart (used in RHDH 1.y), the new `redhat-developer-hub` chart is a clean break. The values structure has changed significantly — all `global.*` and `upstream.backstage.*` nesting has been flattened to root-level keys. A `helm upgrade` from the old chart to this one is **not** supported; you will need to perform a fresh install with migrated values. +See the [Migration guide](docs/migration-from-backstage-chart.md) for step-by-step instructions and a complete values mapping reference. ## Requirements @@ -174,143 +173,143 @@ Kubernetes: `>= 1.31.0-0` ## Values -| Key | Description | Type | Default | -|-----|-------------|------|---------| -| affinity | Affinity rules for pod assignment. | object | `{}` | -| appConfig | Inline Backstage app-config YAML. Rendered into a ConfigMap and mounted as app-config-from-configmap.yaml. | object | Default config with base URLs, CORS, database connection, and backend auth. | -| argsOverride | Override the container arguments entirely. When set, system config arguments are NOT added automatically; you must include them yourself. | list | `[]` | -| auth | Service-to-service authentication configuration. | object | `{"backend":{"enabled":true,"existingSecretRef":{"key":"backend-secret","name":""},"value":""}}` | -| auth.backend.enabled | Enable backend service-to-service authentication. Generates a random secret unless existingSecretRef is set or value is provided. Disable if you inject the secret via extraEnvFrom or extraEnv instead. | bool | `true` | -| auth.backend.existingSecretRef | Reference an existing Secret instead of generating one. When not set, the chart auto-generates a random token. | object | `{"key":"backend-secret","name":""}` | -| auth.backend.existingSecretRef.key | Key within the Secret that holds the backend auth token. | string | `"backend-secret"` | -| auth.backend.existingSecretRef.name | Name of the existing Secret. When empty, the chart generates one. | string | `""` | -| auth.backend.value | Use a specific value instead of generating one. | string | `""` | -| autoscaling | Horizontal Pod Autoscaler configuration. | object | `{"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | -| catalogIndex | Catalog index configuration for automatic plugin discovery. | object | `{"extraImages":[],"image":{"digest":"","registry":"quay.io","repository":"rhdh/plugin-catalog-index","tag":"next"}}` | -| catalogIndex.extraImages | Extra catalog index images for additional plugin discovery in the Extensions UI. Each item must include `registry`, `repository`, and `tag` fields; `name` and `digest` are optional. Only catalog entities are extracted from extra images (no `dynamic-plugins.default.yaml` handling). | list | `[]` | -| commandOverride | Override the container command. | list | `[]` | -| commonAnnotations | Annotations applied to ALL chart resources. | object | `{}` | -| commonLabels | Labels applied to ALL chart resources. | object | `{}` | -| containerSecurityContext | Security context for the main RHDH container (not the Lightspeed Core sidecar or init containers). | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | -| deploymentAnnotations | Annotations for the Deployment resource (not the pod). | object | `{}` | -| dynamicPlugins | Dynamic plugin system configuration. | object | `{"includes":["dynamic-plugins.default.yaml"],"initContainer":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}},"maxEntrySize":40000000,"plugins":[],"volume":{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"type":"ephemeral"}}` | -| dynamicPlugins.includes | Array of YAML files listing dynamic plugins to include. Relative paths are resolved from the working directory of the initContainer (`/opt/app-root/src`). | list | `["dynamic-plugins.default.yaml"]` | -| dynamicPlugins.initContainer | Configuration for the install-dynamic-plugins init container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}}` | -| dynamicPlugins.initContainer.argsOverride | Override the default arguments. Leave empty to use the defaults. | list | `[]` | -| dynamicPlugins.initContainer.commandOverride | Override the default command. Leave empty to use the default (./install-dynamic-plugins.sh /dynamic-plugins-root). | list | `[]` | -| dynamicPlugins.initContainer.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | -| dynamicPlugins.initContainer.extraEnv | Extra environment variables appended after the system env vars (NPM_CONFIG_USERCONFIG, MAX_ENTRY_SIZE, CATALOG_INDEX_IMAGE, etc.). | list | `[]` | -| dynamicPlugins.initContainer.extraVolumeMounts | Additional volume mounts appended after the system mounts (dynamic-plugins-root, npmrc, registry-auth, npmcacache, extensions-catalog, temp). | list | `[]` | -| dynamicPlugins.initContainer.resources | Resource requests and limits. | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | -| dynamicPlugins.initContainer.securityContext | Security context for the init container. | object | Same as containerSecurityContext | -| dynamicPlugins.maxEntrySize | Maximum uncompressed size (in bytes) of a single dynamic plugin entry. | int | `40000000` | -| dynamicPlugins.plugins | List of dynamic plugins. Every item defines the plugin `package` as a NPM package spec or OCI reference. | list | `[]` | -| dynamicPlugins.volume | Volume configuration for the dynamic plugins root directory. | object | `{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"type":"ephemeral"}` | -| dynamicPlugins.volume.emptyDir | Raw Kubernetes emptyDir volume spec. Used when type is "emptyDir". | object | `{}` | -| dynamicPlugins.volume.ephemeral | Ephemeral volume configuration. Used when type is "ephemeral". The chart builds the full ephemeral.volumeClaimTemplate.spec from these fields. | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | -| dynamicPlugins.volume.ephemeral.accessModes | Access modes for the ephemeral PVC. | list | `["ReadWriteOnce"]` | -| dynamicPlugins.volume.ephemeral.resources | Resource requests for the ephemeral PVC. | object | `{"requests":{"storage":"5Gi"}}` | -| dynamicPlugins.volume.ephemeral.storageClassName | StorageClass for the ephemeral volume. When empty, uses global.defaultStorageClass or the cluster default. | string | `""` | -| dynamicPlugins.volume.pvc | Raw Kubernetes persistentVolumeClaim volume spec. Used when type is "pvc". | object | `{"claimName":""}` | -| dynamicPlugins.volume.type | Volume type: "ephemeral" (auto-provisioned PVC per pod), "emptyDir" (scratch space, lost on pod restart), or "pvc" (pre-existing PersistentVolumeClaim). | string | `"ephemeral"` | -| envFromOverride | Override the container envFrom entirely. When set, extraEnvFrom is ignored. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | list | `[]` | -| envOverride | Override the container environment variables entirely. When set, system env vars (BACKEND_SECRET, DB credentials, etc.) are NOT added automatically. | list | `[]` | -| externalDatabase | External database connection. Used when postgresql.enabled is false. See docs/external-db.md for TLS setup and privilege requirements. When both postgresql.enabled and externalDatabase.host are false/empty, the chart renders no database env vars (BYO configuration via extraEnv or appConfig). | object | `{"existingSecretRef":{"key":"password","name":""},"host":"","port":5432,"user":"postgres"}` | -| externalDatabase.existingSecretRef | Reference to an existing Secret containing the database password. | object | `{"key":"password","name":""}` | -| externalDatabase.existingSecretRef.key | Key within the Secret that holds the password. | string | `"password"` | -| externalDatabase.existingSecretRef.name | Name of the existing Secret. | string | `""` | -| externalDatabase.host | External database hostname. | string | `""` | -| externalDatabase.port | External database port. | int | `5432` | -| externalDatabase.user | External database user. | string | `"postgres"` | -| extraAppConfig | Additional app-config files from existing ConfigMaps. | list | `[]` | -| extraArgs | Extra arguments appended after the system config flags. | list | `[]` | -| extraContainers | Additional sidecar containers. These are ADDED to system containers (e.g. Lightspeed Core sidecar), never replacing them. | list | `[]` | -| extraEnv | Extra environment variables appended after the system env vars. | list | `[]` | -| extraEnvFrom | Extra envFrom entries appended to the container. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | list | `[]` | -| extraInitContainers | Additional init containers. These are ADDED after system init containers (install-dynamic-plugins, Intelligent Assistant RAG init), never replacing them. | list | `[]` | -| extraVolumeMounts | Additional volume mounts to add to the main container. These are ADDED to system-required mounts, never replacing them. | list | `[]` | -| extraVolumes | Additional volumes to add to the pod. These are ADDED to system-required volumes (dynamic-plugins-root, temp, npmcacache, etc.), never replacing them. | list | `[]` | -| fullnameOverride | Override the full resource name. | string | `""` | -| global | Global parameters shared with bitnami subcharts (postgresql, common). | object | `{"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":""}` | -| global.defaultStorageClass | Global default StorageClass for PVCs. | string | `""` | -| global.imagePullSecrets | Global Docker registry secret names. | list | `[]` | -| global.imageRegistry | Global Docker image registry. Overrides per-image registries for all containers. | string | `""` | -| host | Custom hostname. Overrides openshift.clusterRouterBase for URL generation. | string | `""` | -| hostAliases | Host aliases for /etc/hosts entries. | list | `[]` | -| httpRoute | Gateway API HTTPRoute configuration. | object | `{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[],"rules":[]}` | -| httpRoute.labels | Additional labels for the HTTPRoute resource. | object | `{}` | -| image | Container image configuration. | object | `{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"rhdh-community/rhdh","tag":"next"}` | -| image.digest | Overrides the image tag with an image digest. | string | `""` | -| imagePullSecrets | Secrets for pulling images from private registries (merged with global.imagePullSecrets). | list | `[]` | -| ingress | Kubernetes Ingress configuration. | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"{{ .Values.host }}","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | -| intelligentAssistant | Built-in Intelligent Assistant feature configuration. | object | `{"config":{"profile":{"existingConfigMap":{"key":"","name":""}},"server":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}},"core":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.6.2"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"enabled":true,"existingSecret":"","plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}],"ragInit":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"redhat-ai-dev/rag-content","tag":"release-1.10-lls-0.5.0-8c231a3b5177f12fff9db042dfa4091d8f2f26b3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"runtimeVolume":{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}}` | -| intelligentAssistant.config | Configuration files mounted into the sidecar. By default, the chart creates ConfigMaps from bundled source files. Set existingConfigMap to use a pre-existing ConfigMap instead. | object | `{"profile":{"existingConfigMap":{"key":"","name":""}},"server":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}}` | -| intelligentAssistant.config.profile | Python profile with prompt templates (rhdh-profile.py). | object | `{"existingConfigMap":{"key":"","name":""}}` | -| intelligentAssistant.config.profile.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled rhdh-profile.py | -| intelligentAssistant.config.profile.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (rhdh-profile.py) if not set. | string | `""` | -| intelligentAssistant.config.profile.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | -| intelligentAssistant.config.server | Llama Stack server configuration (config.yaml). | object | `{"existingConfigMap":{"key":"","name":""}}` | -| intelligentAssistant.config.server.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled config.yaml | -| intelligentAssistant.config.server.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (config.yaml) if not set. | string | `""` | -| intelligentAssistant.config.server.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | -| intelligentAssistant.config.stack | Lightspeed Core service configuration (lightspeed-stack.yaml). | object | `{"existingConfigMap":{"key":"","name":""}}` | -| intelligentAssistant.config.stack.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled lightspeed-stack.yaml | -| intelligentAssistant.config.stack.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (lightspeed-stack.yaml) if not set. | string | `""` | -| intelligentAssistant.config.stack.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | -| intelligentAssistant.core | Lightspeed Core sidecar container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.6.2"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | -| intelligentAssistant.core.argsOverride | Override the container's default args. Leave empty to use the image defaults. | list | `[]` | -| intelligentAssistant.core.commandOverride | Override the container's default command. Leave empty to use the image entrypoint. | list | `[]` | -| intelligentAssistant.core.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | -| intelligentAssistant.existingSecret | Name of an existing Secret to inject via envFrom into the lightspeed-core container. If empty, no secret is mounted. Expected keys (all optional — only set the ones for the providers you use): ENABLE_VLLM, VLLM_URL, VLLM_API_KEY, VLLM_MAX_TOKENS, VLLM_TLS_VERIFY, ENABLE_OPENAI, OPENAI_API_KEY, ENABLE_VERTEX_AI, VERTEX_AI_PROJECT, VERTEX_AI_LOCATION, GOOGLE_APPLICATION_CREDENTIALS, ENABLE_OLLAMA, OLLAMA_URL, ENABLE_VALIDATION, VALIDATION_PROVIDER, VALIDATION_MODEL_NAME, LLAMA_STACK_LOGGING See files/intelligent-assistant/secret.example.yaml for a reference template. | string | `""` | -| intelligentAssistant.plugins | Intelligent Assistant dynamic plugin packages. | list | `[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}]` | -| intelligentAssistant.ragInit | RAG data bootstrap init container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"redhat-ai-dev/rag-content","tag":"release-1.10-lls-0.5.0-8c231a3b5177f12fff9db042dfa4091d8f2f26b3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | -| intelligentAssistant.ragInit.argsOverride | Override the default arguments for the RAG init container. | list | `[]` | -| intelligentAssistant.ragInit.commandOverride | Override the default command for the RAG init container. | list | `[]` | -| intelligentAssistant.ragInit.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | -| intelligentAssistant.runtimeVolume | Writable scratch volume for the sidecar (/tmp). | object | `{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}` | -| intelligentAssistant.runtimeVolume.type | Volume type: "emptyDir" or "persistentVolumeClaim". | string | `"emptyDir"` | -| livenessProbe | Liveness probe configuration. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":4}` | -| metrics | Prometheus metrics configuration. | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":"","labels":{},"path":"/metrics","port":"http-metrics"}}` | -| nameOverride | Override the chart name used in resource naming. | string | `""` | -| nodeSelector | Node labels for pod assignment. | object | `{}` | -| openshift | OpenShift-specific configuration. | object | `{"clusterRouterBase":"apps.example.com","route":{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}}` | -| openshift.clusterRouterBase | Cluster router base domain used to auto-generate the hostname. | string | `"apps.example.com"` | -| openshift.route | OpenShift Route configuration. | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | -| orchestrator | Orchestrator (Serverless workflows) configuration. | object | `{"enabled":false,"plugins":[{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator:{{ \"{{inherit}}\" }}"}],"serverlessLogicOperator":{"enabled":true},"serverlessOperator":{"enabled":true},"sonataflowPlatform":{"dataIndex":{"image":{"digest":"","registry":"","repository":"","tag":""}},"dbCreationJob":{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null},"eventing":{"broker":{"name":"","namespace":""}},"externalDB":{"existingSecret":"","host":"","name":"","port":""},"jobService":{"image":{"digest":"","registry":"","repository":"","tag":""}},"monitoring":{"enabled":true},"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"64Mi"}}}}` | -| orchestrator.sonataflowPlatform.dataIndex | SonataFlow Data Index service configuration. | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | -| orchestrator.sonataflowPlatform.dataIndex.image | Override the Data Index container image. If empty, the operator default is used. | object | `{"digest":"","registry":"","repository":"","tag":""}` | -| orchestrator.sonataflowPlatform.dbCreationJob | Database creation Job configuration. | object | `{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null}` | -| orchestrator.sonataflowPlatform.dbCreationJob.image | Container image for the create-db Job. | object | `{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"}` | -| orchestrator.sonataflowPlatform.externalDB | External database connection. Used when postgresql.enabled is false. | object | `{"existingSecret":"","host":"","name":"","port":""}` | -| orchestrator.sonataflowPlatform.externalDB.existingSecret | Name of a Secret containing POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD keys. | string | `""` | -| orchestrator.sonataflowPlatform.externalDB.host | Database host (used in JDBC URLs). | string | `""` | -| orchestrator.sonataflowPlatform.externalDB.name | Database name to connect to for the CREATE DATABASE command. | string | `""` | -| orchestrator.sonataflowPlatform.externalDB.port | Database port (used in JDBC URLs). | string | `""` | -| orchestrator.sonataflowPlatform.jobService | SonataFlow Job Service configuration. | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | -| orchestrator.sonataflowPlatform.jobService.image | Override the Job Service container image. If empty, the operator default is used. | object | `{"digest":"","registry":"","repository":"","tag":""}` | -| podAnnotations | Annotations to add to the pod. | object | `{}` | -| podDisruptionBudget | Pod Disruption Budget configuration. | object | `{"create":false,"maxUnavailable":1,"minAvailable":""}` | -| podLabels | Labels to add to the pod. | object | `{}` | -| podSecurityContext | Pod-level security context. | object | `{}` | -| postgresql | Built-in PostgreSQL database (bitnami subchart). | object | `{"auth":{"secretKeys":{"adminPasswordKey":"postgres-password","userPasswordKey":"password"}},"enabled":true,"image":{"digest":"","registry":"quay.io","repository":"fedora/postgresql-15","tag":"latest"},"postgresqlDataDir":"/var/lib/pgsql/data/userdata","primary":{"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":false},"extraEnvVars":[{"name":"POSTGRESQL_ADMIN_PASSWORD","valueFrom":{"secretKeyRef":{"key":"{{- include \"rhdh.postgresql.adminPasswordKey\" . }}","name":"{{- include \"rhdh.postgresql.secretName\" . }}"}}}],"persistence":{"enabled":true,"mountPath":"/var/lib/pgsql/data","size":"1Gi"},"podSecurityContext":{"enabled":false},"resources":{"limits":{"cpu":"250m","ephemeral-storage":"20Mi","memory":"1024Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}},"serviceBindings":{"enabled":true}}` | -| preInitContainers | Init containers to run BEFORE the system init containers (e.g. inject auth credentials before install-dynamic-plugins runs). | list | `[]` | -| readinessProbe | Readiness probe configuration. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/readiness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":2,"timeoutSeconds":4}` | -| replicaCount | Number of desired pods. | int | `1` | -| resources | Resource requests and limits for the main RHDH container. | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"1Gi"}}` | -| revisionHistoryLimit | Number of old ReplicaSets to retain. | int | `10` | -| service | Service configuration. | object | `{"annotations":{},"clusterIP":"","externalTrafficPolicy":"","extraPorts":[{"name":"http-metrics","port":9464,"targetPort":9464}],"ipFamilies":[],"ipFamilyPolicy":"","loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePort":"","port":7007,"sessionAffinity":"","type":"ClusterIP"}` | -| service.extraPorts | Additional service ports. | list | `[{"name":"http-metrics","port":9464,"targetPort":9464}]` | -| service.ipFamilies | IP families for dual-stack networking. | list | `[]` | -| service.ipFamilyPolicy | IP family policy for dual-stack networking. | string | `""` | -| service.nodePort | Node port for NodePort/LoadBalancer service types (range 30000-32767). | string | `""` | -| serviceAccount | ServiceAccount configuration. | object | `{"annotations":{},"automount":true,"create":false,"labels":{},"name":""}` | -| serviceAccount.labels | Additional labels for the ServiceAccount. | object | `{}` | -| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. | string | `""` | -| startupProbe | Startup probe configuration. Gives the application time to start before liveness/readiness probes kick in. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":20,"successThreshold":1,"timeoutSeconds":4}` | -| strategy | Deployment update strategy. | object | `{}` | -| test | Test pod configuration for `helm test`. | object | `{"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"curl/curl","tag":"8.21.0"},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}}` | -| tolerations | Tolerations for pod assignment. | list | `[]` | -| topologySpreadConstraints | Topology spread constraints for pod scheduling. | list | `[]` | +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| affinity | object | `{}` | Affinity rules for pod assignment. | +| appConfig | object | Default config with base URLs, CORS, database connection, and backend auth. | Inline Backstage app-config YAML. Rendered into a ConfigMap and mounted as app-config-from-configmap.yaml. | +| argsOverride | list | `[]` | Override the container arguments entirely. When set, system config arguments are NOT added automatically; you must include them yourself. | +| auth | object | `{"backend":{"enabled":true,"existingSecretRef":{"key":"backend-secret","name":""},"value":""}}` | Service-to-service authentication configuration. | +| auth.backend.enabled | bool | `true` | Enable backend service-to-service authentication. Generates a random secret unless existingSecretRef is set or value is provided. Disable if you inject the secret via extraEnvFrom or extraEnv instead. | +| auth.backend.existingSecretRef | object | `{"key":"backend-secret","name":""}` | Reference an existing Secret instead of generating one. When not set, the chart auto-generates a random token. | +| auth.backend.existingSecretRef.key | string | `"backend-secret"` | Key within the Secret that holds the backend auth token. | +| auth.backend.existingSecretRef.name | string | `""` | Name of the existing Secret. When empty, the chart generates one. | +| auth.backend.value | string | `""` | Use a specific value instead of generating one. | +| autoscaling | object | `{"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | Horizontal Pod Autoscaler configuration. | +| catalogIndex | object | `{"extraImages":[],"image":{"digest":"","registry":"quay.io","repository":"rhdh/plugin-catalog-index","tag":"next"}}` | Catalog index configuration for automatic plugin discovery. | +| catalogIndex.extraImages | list | `[]` | Extra catalog index images for additional plugin discovery in the Extensions UI. Each item must include `registry`, `repository`, and `tag` fields; `name` and `digest` are optional. Only catalog entities are extracted from extra images (no `dynamic-plugins.default.yaml` handling). | +| commandOverride | list | `[]` | Override the container command. | +| commonAnnotations | object | `{}` | Annotations applied to ALL chart resources. | +| commonLabels | object | `{}` | Labels applied to ALL chart resources. | +| containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | Security context for the main RHDH container (not the Lightspeed Core sidecar or init containers). | +| deploymentAnnotations | object | `{}` | Annotations for the Deployment resource (not the pod). | +| dynamicPlugins | object | `{"includes":["dynamic-plugins.default.yaml"],"initContainer":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}},"maxEntrySize":40000000,"plugins":[],"volume":{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"type":"ephemeral"}}` | Dynamic plugin system configuration. | +| dynamicPlugins.includes | list | `["dynamic-plugins.default.yaml"]` | Array of YAML files listing dynamic plugins to include. Relative paths are resolved from the working directory of the initContainer (`/opt/app-root/src`). | +| dynamicPlugins.initContainer | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}}` | Configuration for the install-dynamic-plugins init container. | +| dynamicPlugins.initContainer.argsOverride | list | `[]` | Override the default arguments. Leave empty to use the defaults. | +| dynamicPlugins.initContainer.commandOverride | list | `[]` | Override the default command. Leave empty to use the default (./install-dynamic-plugins.sh /dynamic-plugins-root). | +| dynamicPlugins.initContainer.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | +| dynamicPlugins.initContainer.extraEnv | list | `[]` | Extra environment variables appended after the system env vars (NPM_CONFIG_USERCONFIG, MAX_ENTRY_SIZE, CATALOG_INDEX_IMAGE, etc.). | +| dynamicPlugins.initContainer.extraVolumeMounts | list | `[]` | Additional volume mounts appended after the system mounts (dynamic-plugins-root, npmrc, registry-auth, npmcacache, extensions-catalog, temp). | +| dynamicPlugins.initContainer.resources | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | Resource requests and limits. | +| dynamicPlugins.initContainer.securityContext | object | Same as containerSecurityContext | Security context for the init container. | +| dynamicPlugins.maxEntrySize | int | `40000000` | Maximum uncompressed size (in bytes) of a single dynamic plugin entry. | +| dynamicPlugins.plugins | list | `[]` | List of dynamic plugins. Every item defines the plugin `package` as a NPM package spec or OCI reference. | +| dynamicPlugins.volume | object | `{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"type":"ephemeral"}` | Volume configuration for the dynamic plugins root directory. | +| dynamicPlugins.volume.emptyDir | object | `{}` | Raw Kubernetes emptyDir volume spec. Used when type is "emptyDir". | +| dynamicPlugins.volume.ephemeral | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | Ephemeral volume configuration. Used when type is "ephemeral". The chart builds the full ephemeral.volumeClaimTemplate.spec from these fields. | +| dynamicPlugins.volume.ephemeral.accessModes | list | `["ReadWriteOnce"]` | Access modes for the ephemeral PVC. | +| dynamicPlugins.volume.ephemeral.resources | object | `{"requests":{"storage":"5Gi"}}` | Resource requests for the ephemeral PVC. | +| dynamicPlugins.volume.ephemeral.storageClassName | string | `""` | StorageClass for the ephemeral volume. When empty, uses global.defaultStorageClass or the cluster default. | +| dynamicPlugins.volume.pvc | object | `{"claimName":""}` | Raw Kubernetes persistentVolumeClaim volume spec. Used when type is "pvc". | +| dynamicPlugins.volume.type | string | `"ephemeral"` | Volume type: "ephemeral" (auto-provisioned PVC per pod), "emptyDir" (scratch space, lost on pod restart), or "pvc" (pre-existing PersistentVolumeClaim). | +| envFromOverride | list | `[]` | Override the container envFrom entirely. When set, extraEnvFrom is ignored. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | +| envOverride | list | `[]` | Override the container environment variables entirely. When set, system env vars (BACKEND_SECRET, DB credentials, etc.) are NOT added automatically. | +| externalDatabase | object | `{"existingSecretRef":{"key":"password","name":""},"host":"","port":5432,"user":"postgres"}` | External database connection. Used when postgresql.enabled is false. See docs/external-db.md for TLS setup and privilege requirements. When both postgresql.enabled and externalDatabase.host are false/empty, the chart renders no database env vars (BYO configuration via extraEnv or appConfig). | +| externalDatabase.existingSecretRef | object | `{"key":"password","name":""}` | Reference to an existing Secret containing the database password. | +| externalDatabase.existingSecretRef.key | string | `"password"` | Key within the Secret that holds the password. | +| externalDatabase.existingSecretRef.name | string | `""` | Name of the existing Secret. | +| externalDatabase.host | string | `""` | External database hostname. | +| externalDatabase.port | int | `5432` | External database port. | +| externalDatabase.user | string | `"postgres"` | External database user. | +| extraAppConfig | list | `[]` | Additional app-config files from existing ConfigMaps. | +| extraArgs | list | `[]` | Extra arguments appended after the system config flags. | +| extraContainers | list | `[]` | Additional sidecar containers. These are ADDED to system containers (e.g. Lightspeed Core sidecar), never replacing them. | +| extraEnv | list | `[]` | Extra environment variables appended after the system env vars. | +| extraEnvFrom | list | `[]` | Extra envFrom entries appended to the container. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | +| extraInitContainers | list | `[]` | Additional init containers. These are ADDED after system init containers (install-dynamic-plugins, Intelligent Assistant RAG init), never replacing them. | +| extraVolumeMounts | list | `[]` | Additional volume mounts to add to the main container. These are ADDED to system-required mounts, never replacing them. | +| extraVolumes | list | `[]` | Additional volumes to add to the pod. These are ADDED to system-required volumes (dynamic-plugins-root, temp, npmcacache, etc.), never replacing them. | +| fullnameOverride | string | `""` | Override the full resource name. | +| global | object | `{"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":""}` | Global parameters shared with bitnami subcharts (postgresql, common). | +| global.defaultStorageClass | string | `""` | Global default StorageClass for PVCs. | +| global.imagePullSecrets | list | `[]` | Global Docker registry secret names. | +| global.imageRegistry | string | `""` | Global Docker image registry. Overrides per-image registries for all containers. | +| host | string | `""` | Custom hostname. Overrides openshift.clusterRouterBase for URL generation. | +| hostAliases | list | `[]` | Host aliases for /etc/hosts entries. | +| httpRoute | object | `{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[],"rules":[]}` | Gateway API HTTPRoute configuration. | +| httpRoute.labels | object | `{}` | Additional labels for the HTTPRoute resource. | +| image | object | `{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"rhdh-community/rhdh","tag":"next"}` | Container image configuration. | +| image.digest | string | `""` | Overrides the image tag with an image digest. | +| imagePullSecrets | list | `[]` | Secrets for pulling images from private registries (merged with global.imagePullSecrets). | +| ingress | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"{{ .Values.host }}","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | Kubernetes Ingress configuration. | +| intelligentAssistant | object | `{"config":{"profile":{"existingConfigMap":{"key":"","name":""}},"server":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}},"core":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.6.2"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"enabled":true,"existingSecret":"","plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}],"ragInit":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"redhat-ai-dev/rag-content","tag":"release-1.10-lls-0.5.0-8c231a3b5177f12fff9db042dfa4091d8f2f26b3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"runtimeVolume":{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}}` | Built-in Intelligent Assistant feature configuration. | +| intelligentAssistant.config | object | `{"profile":{"existingConfigMap":{"key":"","name":""}},"server":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}}` | Configuration files mounted into the sidecar. By default, the chart creates ConfigMaps from bundled source files. Set existingConfigMap to use a pre-existing ConfigMap instead. | +| intelligentAssistant.config.profile | object | `{"existingConfigMap":{"key":"","name":""}}` | Python profile with prompt templates (rhdh-profile.py). | +| intelligentAssistant.config.profile.existingConfigMap | object | Created from bundled rhdh-profile.py | Use an existing ConfigMap instead of the bundled default. | +| intelligentAssistant.config.profile.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (rhdh-profile.py) if not set. | +| intelligentAssistant.config.profile.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | +| intelligentAssistant.config.server | object | `{"existingConfigMap":{"key":"","name":""}}` | Llama Stack server configuration (config.yaml). | +| intelligentAssistant.config.server.existingConfigMap | object | Created from bundled config.yaml | Use an existing ConfigMap instead of the bundled default. | +| intelligentAssistant.config.server.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (config.yaml) if not set. | +| intelligentAssistant.config.server.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | +| intelligentAssistant.config.stack | object | `{"existingConfigMap":{"key":"","name":""}}` | Lightspeed Core service configuration (lightspeed-stack.yaml). | +| intelligentAssistant.config.stack.existingConfigMap | object | Created from bundled lightspeed-stack.yaml | Use an existing ConfigMap instead of the bundled default. | +| intelligentAssistant.config.stack.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (lightspeed-stack.yaml) if not set. | +| intelligentAssistant.config.stack.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | +| intelligentAssistant.core | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.6.2"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | Lightspeed Core sidecar container. | +| intelligentAssistant.core.argsOverride | list | `[]` | Override the container's default args. Leave empty to use the image defaults. | +| intelligentAssistant.core.commandOverride | list | `[]` | Override the container's default command. Leave empty to use the image entrypoint. | +| intelligentAssistant.core.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | +| intelligentAssistant.existingSecret | string | `""` | Name of an existing Secret to inject via envFrom into the lightspeed-core container. If empty, no secret is mounted. Expected keys (all optional — only set the ones for the providers you use): ENABLE_VLLM, VLLM_URL, VLLM_API_KEY, VLLM_MAX_TOKENS, VLLM_TLS_VERIFY, ENABLE_OPENAI, OPENAI_API_KEY, ENABLE_VERTEX_AI, VERTEX_AI_PROJECT, VERTEX_AI_LOCATION, GOOGLE_APPLICATION_CREDENTIALS, ENABLE_OLLAMA, OLLAMA_URL, ENABLE_VALIDATION, VALIDATION_PROVIDER, VALIDATION_MODEL_NAME, LLAMA_STACK_LOGGING See files/intelligent-assistant/secret.example.yaml for a reference template. | +| intelligentAssistant.plugins | list | `[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}]` | Intelligent Assistant dynamic plugin packages. | +| intelligentAssistant.ragInit | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"redhat-ai-dev/rag-content","tag":"release-1.10-lls-0.5.0-8c231a3b5177f12fff9db042dfa4091d8f2f26b3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | RAG data bootstrap init container. | +| intelligentAssistant.ragInit.argsOverride | list | `[]` | Override the default arguments for the RAG init container. | +| intelligentAssistant.ragInit.commandOverride | list | `[]` | Override the default command for the RAG init container. | +| intelligentAssistant.ragInit.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | +| intelligentAssistant.runtimeVolume | object | `{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}` | Writable scratch volume for the sidecar (/tmp). | +| intelligentAssistant.runtimeVolume.type | string | `"emptyDir"` | Volume type: "emptyDir" or "persistentVolumeClaim". | +| livenessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":4}` | Liveness probe configuration. | +| metrics | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":"","labels":{},"path":"/metrics","port":"http-metrics"}}` | Prometheus metrics configuration. | +| nameOverride | string | `""` | Override the chart name used in resource naming. | +| nodeSelector | object | `{}` | Node labels for pod assignment. | +| openshift | object | `{"clusterRouterBase":"apps.example.com","route":{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}}` | OpenShift-specific configuration. | +| openshift.clusterRouterBase | string | `"apps.example.com"` | Cluster router base domain used to auto-generate the hostname. | +| openshift.route | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | OpenShift Route configuration. | +| orchestrator | object | `{"enabled":false,"plugins":[{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator:{{ \"{{inherit}}\" }}"}],"serverlessLogicOperator":{"enabled":true},"serverlessOperator":{"enabled":true},"sonataflowPlatform":{"dataIndex":{"image":{"digest":"","registry":"","repository":"","tag":""}},"dbCreationJob":{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null},"eventing":{"broker":{"name":"","namespace":""}},"externalDB":{"existingSecret":"","host":"","name":"","port":""},"jobService":{"image":{"digest":"","registry":"","repository":"","tag":""}},"monitoring":{"enabled":true},"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"64Mi"}}}}` | Orchestrator (Serverless workflows) configuration. | +| orchestrator.sonataflowPlatform.dataIndex | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | SonataFlow Data Index service configuration. | +| orchestrator.sonataflowPlatform.dataIndex.image | object | `{"digest":"","registry":"","repository":"","tag":""}` | Override the Data Index container image. If empty, the operator default is used. | +| orchestrator.sonataflowPlatform.dbCreationJob | object | `{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null}` | Database creation Job configuration. | +| orchestrator.sonataflowPlatform.dbCreationJob.image | object | `{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"}` | Container image for the create-db Job. | +| orchestrator.sonataflowPlatform.externalDB | object | `{"existingSecret":"","host":"","name":"","port":""}` | External database connection. Used when postgresql.enabled is false. | +| orchestrator.sonataflowPlatform.externalDB.existingSecret | string | `""` | Name of a Secret containing POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD keys. | +| orchestrator.sonataflowPlatform.externalDB.host | string | `""` | Database host (used in JDBC URLs). | +| orchestrator.sonataflowPlatform.externalDB.name | string | `""` | Database name to connect to for the CREATE DATABASE command. | +| orchestrator.sonataflowPlatform.externalDB.port | string | `""` | Database port (used in JDBC URLs). | +| orchestrator.sonataflowPlatform.jobService | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | SonataFlow Job Service configuration. | +| orchestrator.sonataflowPlatform.jobService.image | object | `{"digest":"","registry":"","repository":"","tag":""}` | Override the Job Service container image. If empty, the operator default is used. | +| podAnnotations | object | `{}` | Annotations to add to the pod. | +| podDisruptionBudget | object | `{"create":false,"maxUnavailable":1,"minAvailable":""}` | Pod Disruption Budget configuration. | +| podLabels | object | `{}` | Labels to add to the pod. | +| podSecurityContext | object | `{}` | Pod-level security context. | +| postgresql | object | `{"auth":{"secretKeys":{"adminPasswordKey":"postgres-password","userPasswordKey":"password"}},"enabled":true,"image":{"digest":"","registry":"quay.io","repository":"fedora/postgresql-15","tag":"latest"},"postgresqlDataDir":"/var/lib/pgsql/data/userdata","primary":{"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":false},"extraEnvVars":[{"name":"POSTGRESQL_ADMIN_PASSWORD","valueFrom":{"secretKeyRef":{"key":"{{- include \"rhdh.postgresql.adminPasswordKey\" . }}","name":"{{- include \"rhdh.postgresql.secretName\" . }}"}}}],"persistence":{"enabled":true,"mountPath":"/var/lib/pgsql/data","size":"1Gi"},"podSecurityContext":{"enabled":false},"resources":{"limits":{"cpu":"250m","ephemeral-storage":"20Mi","memory":"1024Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}},"serviceBindings":{"enabled":true}}` | Built-in PostgreSQL database (bitnami subchart). | +| preInitContainers | list | `[]` | Init containers to run BEFORE the system init containers (e.g. inject auth credentials before install-dynamic-plugins runs). | +| readinessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/readiness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":2,"timeoutSeconds":4}` | Readiness probe configuration. | +| replicaCount | int | `1` | Number of desired pods. | +| resources | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"1Gi"}}` | Resource requests and limits for the main RHDH container. | +| revisionHistoryLimit | int | `10` | Number of old ReplicaSets to retain. | +| service | object | `{"annotations":{},"clusterIP":"","externalTrafficPolicy":"","extraPorts":[{"name":"http-metrics","port":9464,"targetPort":9464}],"ipFamilies":[],"ipFamilyPolicy":"","loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePort":"","port":7007,"sessionAffinity":"","type":"ClusterIP"}` | Service configuration. | +| service.extraPorts | list | `[{"name":"http-metrics","port":9464,"targetPort":9464}]` | Additional service ports. | +| service.ipFamilies | list | `[]` | IP families for dual-stack networking. | +| service.ipFamilyPolicy | string | `""` | IP family policy for dual-stack networking. | +| service.nodePort | string | `""` | Node port for NodePort/LoadBalancer service types (range 30000-32767). | +| serviceAccount | object | `{"annotations":{},"automount":true,"create":false,"labels":{},"name":""}` | ServiceAccount configuration. | +| serviceAccount.labels | object | `{}` | Additional labels for the ServiceAccount. | +| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. | +| startupProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":20,"successThreshold":1,"timeoutSeconds":4}` | Startup probe configuration. Gives the application time to start before liveness/readiness probes kick in. | +| strategy | object | `{}` | Deployment update strategy. | +| test | object | `{"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"curl/curl","tag":"8.21.0"},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}}` | Test pod configuration for `helm test`. | +| tolerations | list | `[]` | Tolerations for pod assignment. | +| topologySpreadConstraints | list | `[]` | Topology spread constraints for pod scheduling. | ## Opinionated RHDH deployment diff --git a/charts/rhdh/README.md.gotmpl b/charts/rhdh/README.md.gotmpl index 8f25764ec..8cdc62ddb 100644 --- a/charts/rhdh/README.md.gotmpl +++ b/charts/rhdh/README.md.gotmpl @@ -150,9 +150,9 @@ The command removes all the Kubernetes components associated with the chart and ## Upgrading from the backstage chart (RHDH 1.y) -> **Note:** This section is a work in progress. A detailed migration guide will be provided before the GA release of RHDH 2.y. +If you are upgrading from the legacy `backstage` chart (used in RHDH 1.y), the new `redhat-developer-hub` chart is a clean break. The values structure has changed significantly — all `global.*` and `upstream.backstage.*` nesting has been flattened to root-level keys. You cannot pass your old values file directly to the new chart; you must migrate your values first, then `helm upgrade` the release in place. -If you are upgrading from the legacy `backstage` chart (used in RHDH 1.y), the new `redhat-developer-hub` chart is a clean break. The values structure has changed significantly — all `global.*` and `upstream.backstage.*` nesting has been flattened to root-level keys. A `helm upgrade` from the old chart to this one is **not** supported; you will need to perform a fresh install with migrated values. +See the [Migration guide](docs/migration-from-backstage-chart.md) for step-by-step instructions and a complete values mapping reference. {{ template "chart.requirementsSection" . }} diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md new file mode 100644 index 000000000..9b3e367b4 --- /dev/null +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -0,0 +1,241 @@ +# Migration guide: `backstage` chart (RHDH 1.y) to `redhat-developer-hub` chart (RHDH 2.y) + +The RHDH 2.y `redhat-developer-hub` chart is a clean break from the 1.y `backstage` chart. +The old chart delegated most Kubernetes resource creation to an embedded upstream +[Backstage subchart](https://github.com/backstage/charts), so values lived under +`upstream.backstage.*` and `global.*`. The new chart owns all templates directly and +flattens configuration to root-level keys. + +Because the values structure has changed, you cannot pass your old values file +directly to the new chart. You must migrate your values first, then +`helm upgrade` the release in place. Tooling (a migration script or AI skill) +to automate the values conversion is planned in the near future. + +## Migration steps + +1. Export your current user-supplied values (this returns only the overrides you + provided, not the chart defaults): + + ```bash + helm get values -o yaml > old-values.yaml + ``` + + > **Tip:** Add `-a` to include all computed values (user-supplied + chart + > defaults). This can be useful as a reference, but the file without `-a` is + > what you need to migrate. + +2. Create a new values file using the mapping tables below to translate each + setting to its new path. + +3. Upgrade the existing release in place with the new chart and migrated values: + + ```bash + helm upgrade redhat-developer/redhat-developer-hub -f new-values.yaml + ``` + +4. Verify the deployment is healthy. + +## Key structural changes + +| Aspect | Old chart (`backstage`) | New chart (`redhat-developer-hub`) | +|--------|------------------------|------------------------------------| +| Chart name | `backstage` | `redhat-developer-hub` | +| Template ownership | Delegates to upstream Backstage subchart | Owns all templates directly | +| System volumes/mounts/env | User had to list them in full under `upstream.backstage.extraVolumes`, `extraVolumeMounts`, `extraEnvVars` | Hardcoded in templates; `extra*` keys only add user values | +| Init containers | User had to specify the full init container array | System init containers are managed; use `preInitContainers` / `extraInitContainers` to add custom ones | +| Database env vars | `POSTGRESQL_ADMIN_PASSWORD` injected manually via `upstream.backstage.extraEnvVars` | `POSTGRES_HOST`, `POSTGRES_PORT`, `POSTGRES_USER`, `POSTGRES_PASSWORD` auto-injected | +| Lightspeed | `global.lightspeed.*` | Rebranded to `intelligentAssistant.*` | +| OpenShift Route | `route.*` | `openshift.route.*` | + +## Values mapping reference + +### Container image + +| Old path | New path | +|----------|----------| +| `upstream.backstage.image.registry` | `image.registry` | +| `upstream.backstage.image.repository` | `image.repository` | +| `upstream.backstage.image.tag` | `image.tag` | +| `upstream.backstage.image.pullPolicy` | `image.pullPolicy` | + +### Global parameters + +| Old path | New path | Notes | +|----------|----------|-------| +| `global.clusterRouterBase` | `openshift.clusterRouterBase` | | +| `global.host` | `host` | Promoted to root | +| `global.imagePullSecrets` | `global.imagePullSecrets` | Unchanged (used by bitnami subcharts) | + +### App config + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.backstage.appConfig` | `appConfig` | Entire tree flattened to root | +| `upstream.backstage.appConfig.backend.database.connection.password` | `appConfig.backend.database.connection.password` | Env var changed from `POSTGRESQL_ADMIN_PASSWORD` to `POSTGRES_PASSWORD` | +| `upstream.backstage.appConfig.backend.database.connection.user` | `appConfig.backend.database.connection.user` | Env var changed from hardcoded `postgres` to `POSTGRES_USER` | + +### Authentication + +| Old path | New path | Notes | +|----------|----------|-------| +| `global.auth.backend.enabled` | `auth.backend.enabled` | | +| `global.auth.backend.existingSecret` | `auth.backend.existingSecretRef.name` | Now an object with `name` and `key` | +| _(none)_ | `auth.backend.existingSecretRef.key` | Defaults to `backend-secret` | +| `global.auth.backend.value` | `auth.backend.value` | | + +### Dynamic plugins + +| Old path | New path | Notes | +|----------|----------|-------| +| `global.dynamic.includes` | `dynamicPlugins.includes` | | +| `global.dynamic.plugins` | `dynamicPlugins.plugins` | | +| `upstream.backstage.extraVolumes` _(dynamic-plugins-root)_ | `dynamicPlugins.volume.*` | Declarative config replaces raw volume spec | +| `upstream.backstage.initContainers[0].resources` | `dynamicPlugins.initContainer.resources` | | +| `upstream.backstage.initContainers[0].securityContext` | `dynamicPlugins.initContainer.securityContext` | | +| `upstream.backstage.initContainers[0].env` | `dynamicPlugins.initContainer.extraEnv` | System env vars auto-injected | + +### Container command, args, and env + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.backstage.command` | `commandOverride` | | +| `upstream.backstage.args` | `argsOverride` | System `--config` flags now auto-injected | +| `upstream.backstage.extraEnvVars` | `extraEnv` | System env vars auto-injected; only add custom ones | + +### Volumes and mounts + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.backstage.extraVolumes` | `extraVolumes` | Only user additions; system volumes are hardcoded | +| `upstream.backstage.extraVolumeMounts` | `extraVolumeMounts` | Only user additions; system mounts are hardcoded | + +### Init containers and sidecars + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.backstage.initContainers` | _(managed by chart)_ | System init containers no longer user-configurable | +| _(none)_ | `preInitContainers` | Runs **before** system init containers | +| _(none)_ | `extraInitContainers` | Runs **after** system init containers | +| _(none)_ | `extraContainers` | Additional sidecars | + +### Security contexts and resources + +| Old path | New path | +|----------|----------| +| `upstream.backstage.containerSecurityContext` | `containerSecurityContext` | +| `upstream.backstage.resources` | `resources` | + +### Probes + +| Old path | New path | +|----------|----------| +| `upstream.backstage.startupProbe` | `startupProbe` | +| `upstream.backstage.readinessProbe` | `readinessProbe` | +| `upstream.backstage.livenessProbe` | `livenessProbe` | + +### Service + +| Old path | New path | +|----------|----------| +| `upstream.service.extraPorts` | `service.extraPorts` | + +### OpenShift Route + +| Old path | New path | +|----------|----------| +| `route.enabled` | `openshift.route.enabled` | +| `route.annotations` | `openshift.route.annotations` | +| `route.host` | `openshift.route.host` | +| `route.path` | `openshift.route.path` | +| `route.wildcardPolicy` | `openshift.route.wildcardPolicy` | +| `route.tls.enabled` | `openshift.route.tls.enabled` | +| `route.tls.termination` | `openshift.route.tls.termination` | +| `route.tls.certificate` | `openshift.route.tls.certificate` | +| `route.tls.key` | `openshift.route.tls.key` | +| `route.tls.caCertificate` | `openshift.route.tls.caCertificate` | +| `route.tls.destinationCACertificate` | `openshift.route.tls.destinationCACertificate` | +| `route.tls.insecureEdgeTerminationPolicy` | `openshift.route.tls.insecureEdgeTerminationPolicy` | + +### Ingress + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.ingress.enabled` | `ingress.enabled` | | +| `upstream.ingress.host` | `ingress.hosts[].host` | Now an array of host objects | + +### Catalog index + +| Old path | New path | +|----------|----------| +| `global.catalogIndex.image.registry` | `catalogIndex.image.registry` | +| `global.catalogIndex.image.repository` | `catalogIndex.image.repository` | +| `global.catalogIndex.image.tag` | `catalogIndex.image.tag` | +| `global.catalogIndex.extraImages` | `catalogIndex.extraImages` | + +### PostgreSQL (bitnami subchart) + +| Old path | New path | +|----------|----------| +| `upstream.postgresql.enabled` | `postgresql.enabled` | +| `upstream.postgresql.postgresqlDataDir` | `postgresql.postgresqlDataDir` | +| `upstream.postgresql.serviceBindings.enabled` | `postgresql.serviceBindings.enabled` | +| `upstream.postgresql.image.*` | `postgresql.image.*` | +| `upstream.postgresql.auth.*` | `postgresql.auth.*` | +| `upstream.postgresql.primary.*` | `postgresql.primary.*` | + +### Metrics / monitoring + +| Old path | New path | +|----------|----------| +| `upstream.metrics.serviceMonitor.enabled` | `metrics.serviceMonitor.enabled` | +| `upstream.metrics.serviceMonitor.path` | `metrics.serviceMonitor.path` | +| `upstream.metrics.serviceMonitor.port` | `metrics.serviceMonitor.port` | + +### Intelligent Assistant (formerly Lightspeed) + +| Old path | New path | Notes | +|----------|----------|-------| +| `global.lightspeed.enabled` | `intelligentAssistant.enabled` | Default changed from `false` to `true` | +| `global.lightspeed.plugins` | `intelligentAssistant.plugins` | Plugin format changed from OCI to `ref://` | +| `global.lightspeed.sidecar.image` | `intelligentAssistant.core.image.*` | Single string split into `registry`/`repository`/`tag` | +| `global.lightspeed.sidecar.resources` | `intelligentAssistant.core.resources` | | +| `global.lightspeed.sidecar.securityContext` | `intelligentAssistant.core.securityContext` | | +| `global.lightspeed.sidecar.command` | `intelligentAssistant.core.commandOverride` | | +| `global.lightspeed.sidecar.args` | `intelligentAssistant.core.argsOverride` | | +| `global.lightspeed.sidecar.env` | `intelligentAssistant.core.extraEnv` | | +| `global.lightspeed.initContainer.image` | `intelligentAssistant.ragInit.image.*` | Single string split into `registry`/`repository`/`tag` | +| `global.lightspeed.initContainer.resources` | `intelligentAssistant.ragInit.resources` | | +| `global.lightspeed.initContainer.securityContext` | `intelligentAssistant.ragInit.securityContext` | | +| `global.lightspeed.initContainer.command` | `intelligentAssistant.ragInit.commandOverride` | | +| `global.lightspeed.initContainer.args` | `intelligentAssistant.ragInit.argsOverride` | | +| `global.lightspeed.initContainer.env` | `intelligentAssistant.ragInit.extraEnv` | | +| `global.lightspeed.runtimeVolume.type` | `intelligentAssistant.runtimeVolume.type` | | +| `global.lightspeed.runtimeVolume.emptyDir` | `intelligentAssistant.runtimeVolume.emptyDir` | | +| `global.lightspeed.runtimeVolume.persistentVolumeClaim` | `intelligentAssistant.runtimeVolume.persistentVolumeClaim` | | +| `global.lightspeed.configMaps` | `intelligentAssistant.config.{stack,server,profile}.existingConfigMap` | Array replaced with structured per-file config | +| `global.lightspeed.secret.create` / `.name` | `intelligentAssistant.existingSecret` | Simplified to a secret name string | + +### Orchestrator + +| Old path | New path | Notes | +|----------|----------|-------| +| `orchestrator.enabled` | `orchestrator.enabled` | | +| `orchestrator.plugins` | `orchestrator.plugins` | | +| `orchestrator.sonataflowPlatform.externalDBsecretRef` | `orchestrator.sonataflowPlatform.externalDB.existingSecret` | Restructured | +| `orchestrator.sonataflowPlatform.externalDBName` | `orchestrator.sonataflowPlatform.externalDB.name` | | +| `orchestrator.sonataflowPlatform.externalDBHost` | `orchestrator.sonataflowPlatform.externalDB.host` | | +| `orchestrator.sonataflowPlatform.externalDBPort` | `orchestrator.sonataflowPlatform.externalDB.port` | | +| `orchestrator.sonataflowPlatform.initContainerImage` | `orchestrator.sonataflowPlatform.dbCreationJob.image.*` | Single string split into structured image fields | +| `orchestrator.sonataflowPlatform.createDBJobImage` | `orchestrator.sonataflowPlatform.dbCreationJob.image.*` | Merged with `initContainerImage` | +| `orchestrator.sonataflowPlatform.dataIndexImage` | `orchestrator.sonataflowPlatform.dataIndex.image.*` | Single string split into structured image fields | +| `orchestrator.sonataflowPlatform.jobServiceImage` | `orchestrator.sonataflowPlatform.jobService.image.*` | Single string split into structured image fields | + +### Test pod + +| Old path | New path | Notes | +|----------|----------|-------| +| `test.enabled` | `test.enabled` | | +| `test.image.registry` | `test.image.registry` | | +| `test.image.repository` | `test.image.repository` | | +| `test.image.tag` | `test.image.tag` | Default changed from `latest` to a pinned version | +| `test.injectTestNpmrcSecret` | _(removed)_ | No longer needed | From 010b9a49784bc4311e2237cee5d21a9b0c9c0a7c Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Wed, 2 Sep 2026 18:02:17 +0200 Subject: [PATCH 02/20] 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/migration-from-backstage-chart.md | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 9b3e367b4..0c4f15032 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -1,36 +1,34 @@ # Migration guide: `backstage` chart (RHDH 1.y) to `redhat-developer-hub` chart (RHDH 2.y) -The RHDH 2.y `redhat-developer-hub` chart is a clean break from the 1.y `backstage` chart. +This `redhat-developer-hub` chart is a clean break from the 1.y `backstage` chart. The old chart delegated most Kubernetes resource creation to an embedded upstream [Backstage subchart](https://github.com/backstage/charts), so values lived under `upstream.backstage.*` and `global.*`. The new chart owns all templates directly and flattens configuration to root-level keys. -Because the values structure has changed, you cannot pass your old values file -directly to the new chart. You must migrate your values first, then -`helm upgrade` the release in place. Tooling (a migration script or AI skill) -to automate the values conversion is planned in the near future. +> [!IMPORTANT] +> Because the values structure has changed, you cannot pass your old values file +> directly to the new chart. You must migrate your values first, then +> `helm upgrade` the release in place. Tooling (a migration script or AI skill) +> to automate the values conversion is planned in the near future. ## Migration steps -1. Export your current user-supplied values (this returns only the overrides you - provided, not the chart defaults): +1. Locate your existing values file (typically stored in your Git repo or + locally). If you don't have it, you can export the user-supplied overrides + from a running release: ```bash helm get values -o yaml > old-values.yaml ``` - > **Tip:** Add `-a` to include all computed values (user-supplied + chart - > defaults). This can be useful as a reference, but the file without `-a` is - > what you need to migrate. - 2. Create a new values file using the mapping tables below to translate each setting to its new path. 3. Upgrade the existing release in place with the new chart and migrated values: ```bash - helm upgrade redhat-developer/redhat-developer-hub -f new-values.yaml + helm upgrade --install redhat-developer/redhat-developer-hub -f new-values.yaml ``` 4. Verify the deployment is healthy. From 6ebc2671150b3677241e692ed74eac7cd6b5afaf Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Wed, 2 Sep 2026 18:08:06 +0200 Subject: [PATCH 03/20] docs: highlight image digest fields and global.imageRegistry in migration guide Ref: RHIDP-16514 --- charts/rhdh/README.md | 275 +++++++++--------- .../docs/migration-from-backstage-chart.md | 2 + 2 files changed, 140 insertions(+), 137 deletions(-) diff --git a/charts/rhdh/README.md b/charts/rhdh/README.md index d1188e4d3..1b0011483 100644 --- a/charts/rhdh/README.md +++ b/charts/rhdh/README.md @@ -1,3 +1,4 @@ + # RHDH Helm Chart for OpenShift and Kubernetes ![Version: 2.0.1](https://img.shields.io/badge/Version-2.0.1-informational?style=flat-square) @@ -173,143 +174,143 @@ Kubernetes: `>= 1.31.0-0` ## Values -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| affinity | object | `{}` | Affinity rules for pod assignment. | -| appConfig | object | Default config with base URLs, CORS, database connection, and backend auth. | Inline Backstage app-config YAML. Rendered into a ConfigMap and mounted as app-config-from-configmap.yaml. | -| argsOverride | list | `[]` | Override the container arguments entirely. When set, system config arguments are NOT added automatically; you must include them yourself. | -| auth | object | `{"backend":{"enabled":true,"existingSecretRef":{"key":"backend-secret","name":""},"value":""}}` | Service-to-service authentication configuration. | -| auth.backend.enabled | bool | `true` | Enable backend service-to-service authentication. Generates a random secret unless existingSecretRef is set or value is provided. Disable if you inject the secret via extraEnvFrom or extraEnv instead. | -| auth.backend.existingSecretRef | object | `{"key":"backend-secret","name":""}` | Reference an existing Secret instead of generating one. When not set, the chart auto-generates a random token. | -| auth.backend.existingSecretRef.key | string | `"backend-secret"` | Key within the Secret that holds the backend auth token. | -| auth.backend.existingSecretRef.name | string | `""` | Name of the existing Secret. When empty, the chart generates one. | -| auth.backend.value | string | `""` | Use a specific value instead of generating one. | -| autoscaling | object | `{"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | Horizontal Pod Autoscaler configuration. | -| catalogIndex | object | `{"extraImages":[],"image":{"digest":"","registry":"quay.io","repository":"rhdh/plugin-catalog-index","tag":"next"}}` | Catalog index configuration for automatic plugin discovery. | -| catalogIndex.extraImages | list | `[]` | Extra catalog index images for additional plugin discovery in the Extensions UI. Each item must include `registry`, `repository`, and `tag` fields; `name` and `digest` are optional. Only catalog entities are extracted from extra images (no `dynamic-plugins.default.yaml` handling). | -| commandOverride | list | `[]` | Override the container command. | -| commonAnnotations | object | `{}` | Annotations applied to ALL chart resources. | -| commonLabels | object | `{}` | Labels applied to ALL chart resources. | -| containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | Security context for the main RHDH container (not the Lightspeed Core sidecar or init containers). | -| deploymentAnnotations | object | `{}` | Annotations for the Deployment resource (not the pod). | -| dynamicPlugins | object | `{"includes":["dynamic-plugins.default.yaml"],"initContainer":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}},"maxEntrySize":40000000,"plugins":[],"volume":{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"type":"ephemeral"}}` | Dynamic plugin system configuration. | -| dynamicPlugins.includes | list | `["dynamic-plugins.default.yaml"]` | Array of YAML files listing dynamic plugins to include. Relative paths are resolved from the working directory of the initContainer (`/opt/app-root/src`). | -| dynamicPlugins.initContainer | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}}` | Configuration for the install-dynamic-plugins init container. | -| dynamicPlugins.initContainer.argsOverride | list | `[]` | Override the default arguments. Leave empty to use the defaults. | -| dynamicPlugins.initContainer.commandOverride | list | `[]` | Override the default command. Leave empty to use the default (./install-dynamic-plugins.sh /dynamic-plugins-root). | -| dynamicPlugins.initContainer.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | -| dynamicPlugins.initContainer.extraEnv | list | `[]` | Extra environment variables appended after the system env vars (NPM_CONFIG_USERCONFIG, MAX_ENTRY_SIZE, CATALOG_INDEX_IMAGE, etc.). | -| dynamicPlugins.initContainer.extraVolumeMounts | list | `[]` | Additional volume mounts appended after the system mounts (dynamic-plugins-root, npmrc, registry-auth, npmcacache, extensions-catalog, temp). | -| dynamicPlugins.initContainer.resources | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | Resource requests and limits. | -| dynamicPlugins.initContainer.securityContext | object | Same as containerSecurityContext | Security context for the init container. | -| dynamicPlugins.maxEntrySize | int | `40000000` | Maximum uncompressed size (in bytes) of a single dynamic plugin entry. | -| dynamicPlugins.plugins | list | `[]` | List of dynamic plugins. Every item defines the plugin `package` as a NPM package spec or OCI reference. | -| dynamicPlugins.volume | object | `{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"type":"ephemeral"}` | Volume configuration for the dynamic plugins root directory. | -| dynamicPlugins.volume.emptyDir | object | `{}` | Raw Kubernetes emptyDir volume spec. Used when type is "emptyDir". | -| dynamicPlugins.volume.ephemeral | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | Ephemeral volume configuration. Used when type is "ephemeral". The chart builds the full ephemeral.volumeClaimTemplate.spec from these fields. | -| dynamicPlugins.volume.ephemeral.accessModes | list | `["ReadWriteOnce"]` | Access modes for the ephemeral PVC. | -| dynamicPlugins.volume.ephemeral.resources | object | `{"requests":{"storage":"5Gi"}}` | Resource requests for the ephemeral PVC. | -| dynamicPlugins.volume.ephemeral.storageClassName | string | `""` | StorageClass for the ephemeral volume. When empty, uses global.defaultStorageClass or the cluster default. | -| dynamicPlugins.volume.pvc | object | `{"claimName":""}` | Raw Kubernetes persistentVolumeClaim volume spec. Used when type is "pvc". | -| dynamicPlugins.volume.type | string | `"ephemeral"` | Volume type: "ephemeral" (auto-provisioned PVC per pod), "emptyDir" (scratch space, lost on pod restart), or "pvc" (pre-existing PersistentVolumeClaim). | -| envFromOverride | list | `[]` | Override the container envFrom entirely. When set, extraEnvFrom is ignored. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | -| envOverride | list | `[]` | Override the container environment variables entirely. When set, system env vars (BACKEND_SECRET, DB credentials, etc.) are NOT added automatically. | -| externalDatabase | object | `{"existingSecretRef":{"key":"password","name":""},"host":"","port":5432,"user":"postgres"}` | External database connection. Used when postgresql.enabled is false. See docs/external-db.md for TLS setup and privilege requirements. When both postgresql.enabled and externalDatabase.host are false/empty, the chart renders no database env vars (BYO configuration via extraEnv or appConfig). | -| externalDatabase.existingSecretRef | object | `{"key":"password","name":""}` | Reference to an existing Secret containing the database password. | -| externalDatabase.existingSecretRef.key | string | `"password"` | Key within the Secret that holds the password. | -| externalDatabase.existingSecretRef.name | string | `""` | Name of the existing Secret. | -| externalDatabase.host | string | `""` | External database hostname. | -| externalDatabase.port | int | `5432` | External database port. | -| externalDatabase.user | string | `"postgres"` | External database user. | -| extraAppConfig | list | `[]` | Additional app-config files from existing ConfigMaps. | -| extraArgs | list | `[]` | Extra arguments appended after the system config flags. | -| extraContainers | list | `[]` | Additional sidecar containers. These are ADDED to system containers (e.g. Lightspeed Core sidecar), never replacing them. | -| extraEnv | list | `[]` | Extra environment variables appended after the system env vars. | -| extraEnvFrom | list | `[]` | Extra envFrom entries appended to the container. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | -| extraInitContainers | list | `[]` | Additional init containers. These are ADDED after system init containers (install-dynamic-plugins, Intelligent Assistant RAG init), never replacing them. | -| extraVolumeMounts | list | `[]` | Additional volume mounts to add to the main container. These are ADDED to system-required mounts, never replacing them. | -| extraVolumes | list | `[]` | Additional volumes to add to the pod. These are ADDED to system-required volumes (dynamic-plugins-root, temp, npmcacache, etc.), never replacing them. | -| fullnameOverride | string | `""` | Override the full resource name. | -| global | object | `{"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":""}` | Global parameters shared with bitnami subcharts (postgresql, common). | -| global.defaultStorageClass | string | `""` | Global default StorageClass for PVCs. | -| global.imagePullSecrets | list | `[]` | Global Docker registry secret names. | -| global.imageRegistry | string | `""` | Global Docker image registry. Overrides per-image registries for all containers. | -| host | string | `""` | Custom hostname. Overrides openshift.clusterRouterBase for URL generation. | -| hostAliases | list | `[]` | Host aliases for /etc/hosts entries. | -| httpRoute | object | `{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[],"rules":[]}` | Gateway API HTTPRoute configuration. | -| httpRoute.labels | object | `{}` | Additional labels for the HTTPRoute resource. | -| image | object | `{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"rhdh-community/rhdh","tag":"next"}` | Container image configuration. | -| image.digest | string | `""` | Overrides the image tag with an image digest. | -| imagePullSecrets | list | `[]` | Secrets for pulling images from private registries (merged with global.imagePullSecrets). | -| ingress | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"{{ .Values.host }}","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | Kubernetes Ingress configuration. | -| intelligentAssistant | object | `{"config":{"profile":{"existingConfigMap":{"key":"","name":""}},"server":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}},"core":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.6.2"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"enabled":true,"existingSecret":"","plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}],"ragInit":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"redhat-ai-dev/rag-content","tag":"release-1.10-lls-0.5.0-8c231a3b5177f12fff9db042dfa4091d8f2f26b3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"runtimeVolume":{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}}` | Built-in Intelligent Assistant feature configuration. | -| intelligentAssistant.config | object | `{"profile":{"existingConfigMap":{"key":"","name":""}},"server":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}}` | Configuration files mounted into the sidecar. By default, the chart creates ConfigMaps from bundled source files. Set existingConfigMap to use a pre-existing ConfigMap instead. | -| intelligentAssistant.config.profile | object | `{"existingConfigMap":{"key":"","name":""}}` | Python profile with prompt templates (rhdh-profile.py). | -| intelligentAssistant.config.profile.existingConfigMap | object | Created from bundled rhdh-profile.py | Use an existing ConfigMap instead of the bundled default. | -| intelligentAssistant.config.profile.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (rhdh-profile.py) if not set. | -| intelligentAssistant.config.profile.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | -| intelligentAssistant.config.server | object | `{"existingConfigMap":{"key":"","name":""}}` | Llama Stack server configuration (config.yaml). | -| intelligentAssistant.config.server.existingConfigMap | object | Created from bundled config.yaml | Use an existing ConfigMap instead of the bundled default. | -| intelligentAssistant.config.server.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (config.yaml) if not set. | -| intelligentAssistant.config.server.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | -| intelligentAssistant.config.stack | object | `{"existingConfigMap":{"key":"","name":""}}` | Lightspeed Core service configuration (lightspeed-stack.yaml). | -| intelligentAssistant.config.stack.existingConfigMap | object | Created from bundled lightspeed-stack.yaml | Use an existing ConfigMap instead of the bundled default. | -| intelligentAssistant.config.stack.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (lightspeed-stack.yaml) if not set. | -| intelligentAssistant.config.stack.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | -| intelligentAssistant.core | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.6.2"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | Lightspeed Core sidecar container. | -| intelligentAssistant.core.argsOverride | list | `[]` | Override the container's default args. Leave empty to use the image defaults. | -| intelligentAssistant.core.commandOverride | list | `[]` | Override the container's default command. Leave empty to use the image entrypoint. | -| intelligentAssistant.core.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | -| intelligentAssistant.existingSecret | string | `""` | Name of an existing Secret to inject via envFrom into the lightspeed-core container. If empty, no secret is mounted. Expected keys (all optional — only set the ones for the providers you use): ENABLE_VLLM, VLLM_URL, VLLM_API_KEY, VLLM_MAX_TOKENS, VLLM_TLS_VERIFY, ENABLE_OPENAI, OPENAI_API_KEY, ENABLE_VERTEX_AI, VERTEX_AI_PROJECT, VERTEX_AI_LOCATION, GOOGLE_APPLICATION_CREDENTIALS, ENABLE_OLLAMA, OLLAMA_URL, ENABLE_VALIDATION, VALIDATION_PROVIDER, VALIDATION_MODEL_NAME, LLAMA_STACK_LOGGING See files/intelligent-assistant/secret.example.yaml for a reference template. | -| intelligentAssistant.plugins | list | `[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}]` | Intelligent Assistant dynamic plugin packages. | -| intelligentAssistant.ragInit | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"redhat-ai-dev/rag-content","tag":"release-1.10-lls-0.5.0-8c231a3b5177f12fff9db042dfa4091d8f2f26b3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | RAG data bootstrap init container. | -| intelligentAssistant.ragInit.argsOverride | list | `[]` | Override the default arguments for the RAG init container. | -| intelligentAssistant.ragInit.commandOverride | list | `[]` | Override the default command for the RAG init container. | -| intelligentAssistant.ragInit.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | -| intelligentAssistant.runtimeVolume | object | `{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}` | Writable scratch volume for the sidecar (/tmp). | -| intelligentAssistant.runtimeVolume.type | string | `"emptyDir"` | Volume type: "emptyDir" or "persistentVolumeClaim". | -| livenessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":4}` | Liveness probe configuration. | -| metrics | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":"","labels":{},"path":"/metrics","port":"http-metrics"}}` | Prometheus metrics configuration. | -| nameOverride | string | `""` | Override the chart name used in resource naming. | -| nodeSelector | object | `{}` | Node labels for pod assignment. | -| openshift | object | `{"clusterRouterBase":"apps.example.com","route":{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}}` | OpenShift-specific configuration. | -| openshift.clusterRouterBase | string | `"apps.example.com"` | Cluster router base domain used to auto-generate the hostname. | -| openshift.route | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | OpenShift Route configuration. | -| orchestrator | object | `{"enabled":false,"plugins":[{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator:{{ \"{{inherit}}\" }}"}],"serverlessLogicOperator":{"enabled":true},"serverlessOperator":{"enabled":true},"sonataflowPlatform":{"dataIndex":{"image":{"digest":"","registry":"","repository":"","tag":""}},"dbCreationJob":{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null},"eventing":{"broker":{"name":"","namespace":""}},"externalDB":{"existingSecret":"","host":"","name":"","port":""},"jobService":{"image":{"digest":"","registry":"","repository":"","tag":""}},"monitoring":{"enabled":true},"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"64Mi"}}}}` | Orchestrator (Serverless workflows) configuration. | -| orchestrator.sonataflowPlatform.dataIndex | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | SonataFlow Data Index service configuration. | -| orchestrator.sonataflowPlatform.dataIndex.image | object | `{"digest":"","registry":"","repository":"","tag":""}` | Override the Data Index container image. If empty, the operator default is used. | -| orchestrator.sonataflowPlatform.dbCreationJob | object | `{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null}` | Database creation Job configuration. | -| orchestrator.sonataflowPlatform.dbCreationJob.image | object | `{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"}` | Container image for the create-db Job. | -| orchestrator.sonataflowPlatform.externalDB | object | `{"existingSecret":"","host":"","name":"","port":""}` | External database connection. Used when postgresql.enabled is false. | -| orchestrator.sonataflowPlatform.externalDB.existingSecret | string | `""` | Name of a Secret containing POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD keys. | -| orchestrator.sonataflowPlatform.externalDB.host | string | `""` | Database host (used in JDBC URLs). | -| orchestrator.sonataflowPlatform.externalDB.name | string | `""` | Database name to connect to for the CREATE DATABASE command. | -| orchestrator.sonataflowPlatform.externalDB.port | string | `""` | Database port (used in JDBC URLs). | -| orchestrator.sonataflowPlatform.jobService | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | SonataFlow Job Service configuration. | -| orchestrator.sonataflowPlatform.jobService.image | object | `{"digest":"","registry":"","repository":"","tag":""}` | Override the Job Service container image. If empty, the operator default is used. | -| podAnnotations | object | `{}` | Annotations to add to the pod. | -| podDisruptionBudget | object | `{"create":false,"maxUnavailable":1,"minAvailable":""}` | Pod Disruption Budget configuration. | -| podLabels | object | `{}` | Labels to add to the pod. | -| podSecurityContext | object | `{}` | Pod-level security context. | -| postgresql | object | `{"auth":{"secretKeys":{"adminPasswordKey":"postgres-password","userPasswordKey":"password"}},"enabled":true,"image":{"digest":"","registry":"quay.io","repository":"fedora/postgresql-15","tag":"latest"},"postgresqlDataDir":"/var/lib/pgsql/data/userdata","primary":{"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":false},"extraEnvVars":[{"name":"POSTGRESQL_ADMIN_PASSWORD","valueFrom":{"secretKeyRef":{"key":"{{- include \"rhdh.postgresql.adminPasswordKey\" . }}","name":"{{- include \"rhdh.postgresql.secretName\" . }}"}}}],"persistence":{"enabled":true,"mountPath":"/var/lib/pgsql/data","size":"1Gi"},"podSecurityContext":{"enabled":false},"resources":{"limits":{"cpu":"250m","ephemeral-storage":"20Mi","memory":"1024Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}},"serviceBindings":{"enabled":true}}` | Built-in PostgreSQL database (bitnami subchart). | -| preInitContainers | list | `[]` | Init containers to run BEFORE the system init containers (e.g. inject auth credentials before install-dynamic-plugins runs). | -| readinessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/readiness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":2,"timeoutSeconds":4}` | Readiness probe configuration. | -| replicaCount | int | `1` | Number of desired pods. | -| resources | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"1Gi"}}` | Resource requests and limits for the main RHDH container. | -| revisionHistoryLimit | int | `10` | Number of old ReplicaSets to retain. | -| service | object | `{"annotations":{},"clusterIP":"","externalTrafficPolicy":"","extraPorts":[{"name":"http-metrics","port":9464,"targetPort":9464}],"ipFamilies":[],"ipFamilyPolicy":"","loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePort":"","port":7007,"sessionAffinity":"","type":"ClusterIP"}` | Service configuration. | -| service.extraPorts | list | `[{"name":"http-metrics","port":9464,"targetPort":9464}]` | Additional service ports. | -| service.ipFamilies | list | `[]` | IP families for dual-stack networking. | -| service.ipFamilyPolicy | string | `""` | IP family policy for dual-stack networking. | -| service.nodePort | string | `""` | Node port for NodePort/LoadBalancer service types (range 30000-32767). | -| serviceAccount | object | `{"annotations":{},"automount":true,"create":false,"labels":{},"name":""}` | ServiceAccount configuration. | -| serviceAccount.labels | object | `{}` | Additional labels for the ServiceAccount. | -| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. | -| startupProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":20,"successThreshold":1,"timeoutSeconds":4}` | Startup probe configuration. Gives the application time to start before liveness/readiness probes kick in. | -| strategy | object | `{}` | Deployment update strategy. | -| test | object | `{"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"curl/curl","tag":"8.21.0"},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}}` | Test pod configuration for `helm test`. | -| tolerations | list | `[]` | Tolerations for pod assignment. | -| topologySpreadConstraints | list | `[]` | Topology spread constraints for pod scheduling. | +| Key | Description | Type | Default | +|-----|-------------|------|---------| +| affinity | Affinity rules for pod assignment. | object | `{}` | +| appConfig | Inline Backstage app-config YAML. Rendered into a ConfigMap and mounted as app-config-from-configmap.yaml. | object | Default config with base URLs, CORS, database connection, and backend auth. | +| argsOverride | Override the container arguments entirely. When set, system config arguments are NOT added automatically; you must include them yourself. | list | `[]` | +| auth | Service-to-service authentication configuration. | object | `{"backend":{"enabled":true,"existingSecretRef":{"key":"backend-secret","name":""},"value":""}}` | +| auth.backend.enabled | Enable backend service-to-service authentication. Generates a random secret unless existingSecretRef is set or value is provided. Disable if you inject the secret via extraEnvFrom or extraEnv instead. | bool | `true` | +| auth.backend.existingSecretRef | Reference an existing Secret instead of generating one. When not set, the chart auto-generates a random token. | object | `{"key":"backend-secret","name":""}` | +| auth.backend.existingSecretRef.key | Key within the Secret that holds the backend auth token. | string | `"backend-secret"` | +| auth.backend.existingSecretRef.name | Name of the existing Secret. When empty, the chart generates one. | string | `""` | +| auth.backend.value | Use a specific value instead of generating one. | string | `""` | +| autoscaling | Horizontal Pod Autoscaler configuration. | object | `{"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | +| catalogIndex | Catalog index configuration for automatic plugin discovery. | object | `{"extraImages":[],"image":{"digest":"","registry":"quay.io","repository":"rhdh/plugin-catalog-index","tag":"next"}}` | +| catalogIndex.extraImages | Extra catalog index images for additional plugin discovery in the Extensions UI. Each item must include `registry`, `repository`, and `tag` fields; `name` and `digest` are optional. Only catalog entities are extracted from extra images (no `dynamic-plugins.default.yaml` handling). | list | `[]` | +| commandOverride | Override the container command. | list | `[]` | +| commonAnnotations | Annotations applied to ALL chart resources. | object | `{}` | +| commonLabels | Labels applied to ALL chart resources. | object | `{}` | +| containerSecurityContext | Security context for the main RHDH container (not the Lightspeed Core sidecar or init containers). | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | +| deploymentAnnotations | Annotations for the Deployment resource (not the pod). | object | `{}` | +| dynamicPlugins | Dynamic plugin system configuration. | object | `{"includes":["dynamic-plugins.default.yaml"],"initContainer":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}},"maxEntrySize":40000000,"plugins":[],"volume":{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"type":"ephemeral"}}` | +| dynamicPlugins.includes | Array of YAML files listing dynamic plugins to include. Relative paths are resolved from the working directory of the initContainer (`/opt/app-root/src`). | list | `["dynamic-plugins.default.yaml"]` | +| dynamicPlugins.initContainer | Configuration for the install-dynamic-plugins init container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}}` | +| dynamicPlugins.initContainer.argsOverride | Override the default arguments. Leave empty to use the defaults. | list | `[]` | +| dynamicPlugins.initContainer.commandOverride | Override the default command. Leave empty to use the default (./install-dynamic-plugins.sh /dynamic-plugins-root). | list | `[]` | +| dynamicPlugins.initContainer.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | +| dynamicPlugins.initContainer.extraEnv | Extra environment variables appended after the system env vars (NPM_CONFIG_USERCONFIG, MAX_ENTRY_SIZE, CATALOG_INDEX_IMAGE, etc.). | list | `[]` | +| dynamicPlugins.initContainer.extraVolumeMounts | Additional volume mounts appended after the system mounts (dynamic-plugins-root, npmrc, registry-auth, npmcacache, extensions-catalog, temp). | list | `[]` | +| dynamicPlugins.initContainer.resources | Resource requests and limits. | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | +| dynamicPlugins.initContainer.securityContext | Security context for the init container. | object | Same as containerSecurityContext | +| dynamicPlugins.maxEntrySize | Maximum uncompressed size (in bytes) of a single dynamic plugin entry. | int | `40000000` | +| dynamicPlugins.plugins | List of dynamic plugins. Every item defines the plugin `package` as a NPM package spec or OCI reference. | list | `[]` | +| dynamicPlugins.volume | Volume configuration for the dynamic plugins root directory. | object | `{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"type":"ephemeral"}` | +| dynamicPlugins.volume.emptyDir | Raw Kubernetes emptyDir volume spec. Used when type is "emptyDir". | object | `{}` | +| dynamicPlugins.volume.ephemeral | Ephemeral volume configuration. Used when type is "ephemeral". The chart builds the full ephemeral.volumeClaimTemplate.spec from these fields. | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | +| dynamicPlugins.volume.ephemeral.accessModes | Access modes for the ephemeral PVC. | list | `["ReadWriteOnce"]` | +| dynamicPlugins.volume.ephemeral.resources | Resource requests for the ephemeral PVC. | object | `{"requests":{"storage":"5Gi"}}` | +| dynamicPlugins.volume.ephemeral.storageClassName | StorageClass for the ephemeral volume. When empty, uses global.defaultStorageClass or the cluster default. | string | `""` | +| dynamicPlugins.volume.pvc | Raw Kubernetes persistentVolumeClaim volume spec. Used when type is "pvc". | object | `{"claimName":""}` | +| dynamicPlugins.volume.type | Volume type: "ephemeral" (auto-provisioned PVC per pod), "emptyDir" (scratch space, lost on pod restart), or "pvc" (pre-existing PersistentVolumeClaim). | string | `"ephemeral"` | +| envFromOverride | Override the container envFrom entirely. When set, extraEnvFrom is ignored. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | list | `[]` | +| envOverride | Override the container environment variables entirely. When set, system env vars (BACKEND_SECRET, DB credentials, etc.) are NOT added automatically. | list | `[]` | +| externalDatabase | External database connection. Used when postgresql.enabled is false. See docs/external-db.md for TLS setup and privilege requirements. When both postgresql.enabled and externalDatabase.host are false/empty, the chart renders no database env vars (BYO configuration via extraEnv or appConfig). | object | `{"existingSecretRef":{"key":"password","name":""},"host":"","port":5432,"user":"postgres"}` | +| externalDatabase.existingSecretRef | Reference to an existing Secret containing the database password. | object | `{"key":"password","name":""}` | +| externalDatabase.existingSecretRef.key | Key within the Secret that holds the password. | string | `"password"` | +| externalDatabase.existingSecretRef.name | Name of the existing Secret. | string | `""` | +| externalDatabase.host | External database hostname. | string | `""` | +| externalDatabase.port | External database port. | int | `5432` | +| externalDatabase.user | External database user. | string | `"postgres"` | +| extraAppConfig | Additional app-config files from existing ConfigMaps. | list | `[]` | +| extraArgs | Extra arguments appended after the system config flags. | list | `[]` | +| extraContainers | Additional sidecar containers. These are ADDED to system containers (e.g. Lightspeed Core sidecar), never replacing them. | list | `[]` | +| extraEnv | Extra environment variables appended after the system env vars. | list | `[]` | +| extraEnvFrom | Extra envFrom entries appended to the container. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | list | `[]` | +| extraInitContainers | Additional init containers. These are ADDED after system init containers (install-dynamic-plugins, Intelligent Assistant RAG init), never replacing them. | list | `[]` | +| extraVolumeMounts | Additional volume mounts to add to the main container. These are ADDED to system-required mounts, never replacing them. | list | `[]` | +| extraVolumes | Additional volumes to add to the pod. These are ADDED to system-required volumes (dynamic-plugins-root, temp, npmcacache, etc.), never replacing them. | list | `[]` | +| fullnameOverride | Override the full resource name. | string | `""` | +| global | Global parameters shared with bitnami subcharts (postgresql, common). | object | `{"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":""}` | +| global.defaultStorageClass | Global default StorageClass for PVCs. | string | `""` | +| global.imagePullSecrets | Global Docker registry secret names. | list | `[]` | +| global.imageRegistry | Global Docker image registry. Overrides per-image registries for all containers. | string | `""` | +| host | Custom hostname. Overrides openshift.clusterRouterBase for URL generation. | string | `""` | +| hostAliases | Host aliases for /etc/hosts entries. | list | `[]` | +| httpRoute | Gateway API HTTPRoute configuration. | object | `{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[],"rules":[]}` | +| httpRoute.labels | Additional labels for the HTTPRoute resource. | object | `{}` | +| image | Container image configuration. | object | `{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"rhdh-community/rhdh","tag":"next"}` | +| image.digest | Overrides the image tag with an image digest. | string | `""` | +| imagePullSecrets | Secrets for pulling images from private registries (merged with global.imagePullSecrets). | list | `[]` | +| ingress | Kubernetes Ingress configuration. | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"{{ .Values.host }}","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | +| intelligentAssistant | Built-in Intelligent Assistant feature configuration. | object | `{"config":{"profile":{"existingConfigMap":{"key":"","name":""}},"server":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}},"core":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.6.2"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"enabled":true,"existingSecret":"","plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}],"ragInit":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"redhat-ai-dev/rag-content","tag":"release-1.10-lls-0.5.0-8c231a3b5177f12fff9db042dfa4091d8f2f26b3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"runtimeVolume":{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}}` | +| intelligentAssistant.config | Configuration files mounted into the sidecar. By default, the chart creates ConfigMaps from bundled source files. Set existingConfigMap to use a pre-existing ConfigMap instead. | object | `{"profile":{"existingConfigMap":{"key":"","name":""}},"server":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}}` | +| intelligentAssistant.config.profile | Python profile with prompt templates (rhdh-profile.py). | object | `{"existingConfigMap":{"key":"","name":""}}` | +| intelligentAssistant.config.profile.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled rhdh-profile.py | +| intelligentAssistant.config.profile.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (rhdh-profile.py) if not set. | string | `""` | +| intelligentAssistant.config.profile.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | +| intelligentAssistant.config.server | Llama Stack server configuration (config.yaml). | object | `{"existingConfigMap":{"key":"","name":""}}` | +| intelligentAssistant.config.server.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled config.yaml | +| intelligentAssistant.config.server.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (config.yaml) if not set. | string | `""` | +| intelligentAssistant.config.server.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | +| intelligentAssistant.config.stack | Lightspeed Core service configuration (lightspeed-stack.yaml). | object | `{"existingConfigMap":{"key":"","name":""}}` | +| intelligentAssistant.config.stack.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled lightspeed-stack.yaml | +| intelligentAssistant.config.stack.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (lightspeed-stack.yaml) if not set. | string | `""` | +| intelligentAssistant.config.stack.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | +| intelligentAssistant.core | Lightspeed Core sidecar container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.6.2"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | +| intelligentAssistant.core.argsOverride | Override the container's default args. Leave empty to use the image defaults. | list | `[]` | +| intelligentAssistant.core.commandOverride | Override the container's default command. Leave empty to use the image entrypoint. | list | `[]` | +| intelligentAssistant.core.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | +| intelligentAssistant.existingSecret | Name of an existing Secret to inject via envFrom into the lightspeed-core container. If empty, no secret is mounted. Expected keys (all optional — only set the ones for the providers you use): ENABLE_VLLM, VLLM_URL, VLLM_API_KEY, VLLM_MAX_TOKENS, VLLM_TLS_VERIFY, ENABLE_OPENAI, OPENAI_API_KEY, ENABLE_VERTEX_AI, VERTEX_AI_PROJECT, VERTEX_AI_LOCATION, GOOGLE_APPLICATION_CREDENTIALS, ENABLE_OLLAMA, OLLAMA_URL, ENABLE_VALIDATION, VALIDATION_PROVIDER, VALIDATION_MODEL_NAME, LLAMA_STACK_LOGGING See files/intelligent-assistant/secret.example.yaml for a reference template. | string | `""` | +| intelligentAssistant.plugins | Intelligent Assistant dynamic plugin packages. | list | `[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}]` | +| intelligentAssistant.ragInit | RAG data bootstrap init container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"redhat-ai-dev/rag-content","tag":"release-1.10-lls-0.5.0-8c231a3b5177f12fff9db042dfa4091d8f2f26b3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | +| intelligentAssistant.ragInit.argsOverride | Override the default arguments for the RAG init container. | list | `[]` | +| intelligentAssistant.ragInit.commandOverride | Override the default command for the RAG init container. | list | `[]` | +| intelligentAssistant.ragInit.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | +| intelligentAssistant.runtimeVolume | Writable scratch volume for the sidecar (/tmp). | object | `{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}` | +| intelligentAssistant.runtimeVolume.type | Volume type: "emptyDir" or "persistentVolumeClaim". | string | `"emptyDir"` | +| livenessProbe | Liveness probe configuration. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":4}` | +| metrics | Prometheus metrics configuration. | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":"","labels":{},"path":"/metrics","port":"http-metrics"}}` | +| nameOverride | Override the chart name used in resource naming. | string | `""` | +| nodeSelector | Node labels for pod assignment. | object | `{}` | +| openshift | OpenShift-specific configuration. | object | `{"clusterRouterBase":"apps.example.com","route":{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}}` | +| openshift.clusterRouterBase | Cluster router base domain used to auto-generate the hostname. | string | `"apps.example.com"` | +| openshift.route | OpenShift Route configuration. | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | +| orchestrator | Orchestrator (Serverless workflows) configuration. | object | `{"enabled":false,"plugins":[{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator:{{ \"{{inherit}}\" }}"}],"serverlessLogicOperator":{"enabled":true},"serverlessOperator":{"enabled":true},"sonataflowPlatform":{"dataIndex":{"image":{"digest":"","registry":"","repository":"","tag":""}},"dbCreationJob":{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null},"eventing":{"broker":{"name":"","namespace":""}},"externalDB":{"existingSecret":"","host":"","name":"","port":""},"jobService":{"image":{"digest":"","registry":"","repository":"","tag":""}},"monitoring":{"enabled":true},"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"64Mi"}}}}` | +| orchestrator.sonataflowPlatform.dataIndex | SonataFlow Data Index service configuration. | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | +| orchestrator.sonataflowPlatform.dataIndex.image | Override the Data Index container image. If empty, the operator default is used. | object | `{"digest":"","registry":"","repository":"","tag":""}` | +| orchestrator.sonataflowPlatform.dbCreationJob | Database creation Job configuration. | object | `{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null}` | +| orchestrator.sonataflowPlatform.dbCreationJob.image | Container image for the create-db Job. | object | `{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"}` | +| orchestrator.sonataflowPlatform.externalDB | External database connection. Used when postgresql.enabled is false. | object | `{"existingSecret":"","host":"","name":"","port":""}` | +| orchestrator.sonataflowPlatform.externalDB.existingSecret | Name of a Secret containing POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD keys. | string | `""` | +| orchestrator.sonataflowPlatform.externalDB.host | Database host (used in JDBC URLs). | string | `""` | +| orchestrator.sonataflowPlatform.externalDB.name | Database name to connect to for the CREATE DATABASE command. | string | `""` | +| orchestrator.sonataflowPlatform.externalDB.port | Database port (used in JDBC URLs). | string | `""` | +| orchestrator.sonataflowPlatform.jobService | SonataFlow Job Service configuration. | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | +| orchestrator.sonataflowPlatform.jobService.image | Override the Job Service container image. If empty, the operator default is used. | object | `{"digest":"","registry":"","repository":"","tag":""}` | +| podAnnotations | Annotations to add to the pod. | object | `{}` | +| podDisruptionBudget | Pod Disruption Budget configuration. | object | `{"create":false,"maxUnavailable":1,"minAvailable":""}` | +| podLabels | Labels to add to the pod. | object | `{}` | +| podSecurityContext | Pod-level security context. | object | `{}` | +| postgresql | Built-in PostgreSQL database (bitnami subchart). | object | `{"auth":{"secretKeys":{"adminPasswordKey":"postgres-password","userPasswordKey":"password"}},"enabled":true,"image":{"digest":"","registry":"quay.io","repository":"fedora/postgresql-15","tag":"latest"},"postgresqlDataDir":"/var/lib/pgsql/data/userdata","primary":{"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":false},"extraEnvVars":[{"name":"POSTGRESQL_ADMIN_PASSWORD","valueFrom":{"secretKeyRef":{"key":"{{- include \"rhdh.postgresql.adminPasswordKey\" . }}","name":"{{- include \"rhdh.postgresql.secretName\" . }}"}}}],"persistence":{"enabled":true,"mountPath":"/var/lib/pgsql/data","size":"1Gi"},"podSecurityContext":{"enabled":false},"resources":{"limits":{"cpu":"250m","ephemeral-storage":"20Mi","memory":"1024Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}},"serviceBindings":{"enabled":true}}` | +| preInitContainers | Init containers to run BEFORE the system init containers (e.g. inject auth credentials before install-dynamic-plugins runs). | list | `[]` | +| readinessProbe | Readiness probe configuration. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/readiness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":2,"timeoutSeconds":4}` | +| replicaCount | Number of desired pods. | int | `1` | +| resources | Resource requests and limits for the main RHDH container. | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"1Gi"}}` | +| revisionHistoryLimit | Number of old ReplicaSets to retain. | int | `10` | +| service | Service configuration. | object | `{"annotations":{},"clusterIP":"","externalTrafficPolicy":"","extraPorts":[{"name":"http-metrics","port":9464,"targetPort":9464}],"ipFamilies":[],"ipFamilyPolicy":"","loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePort":"","port":7007,"sessionAffinity":"","type":"ClusterIP"}` | +| service.extraPorts | Additional service ports. | list | `[{"name":"http-metrics","port":9464,"targetPort":9464}]` | +| service.ipFamilies | IP families for dual-stack networking. | list | `[]` | +| service.ipFamilyPolicy | IP family policy for dual-stack networking. | string | `""` | +| service.nodePort | Node port for NodePort/LoadBalancer service types (range 30000-32767). | string | `""` | +| serviceAccount | ServiceAccount configuration. | object | `{"annotations":{},"automount":true,"create":false,"labels":{},"name":""}` | +| serviceAccount.labels | Additional labels for the ServiceAccount. | object | `{}` | +| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. | string | `""` | +| startupProbe | Startup probe configuration. Gives the application time to start before liveness/readiness probes kick in. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":20,"successThreshold":1,"timeoutSeconds":4}` | +| strategy | Deployment update strategy. | object | `{}` | +| test | Test pod configuration for `helm test`. | object | `{"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"curl/curl","tag":"8.21.0"},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}}` | +| tolerations | Tolerations for pod assignment. | list | `[]` | +| topologySpreadConstraints | Topology spread constraints for pod scheduling. | list | `[]` | ## Opinionated RHDH deployment diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 0c4f15032..7ca31c250 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -42,6 +42,8 @@ flattens configuration to root-level keys. | System volumes/mounts/env | User had to list them in full under `upstream.backstage.extraVolumes`, `extraVolumeMounts`, `extraEnvVars` | Hardcoded in templates; `extra*` keys only add user values | | Init containers | User had to specify the full init container array | System init containers are managed; use `preInitContainers` / `extraInitContainers` to add custom ones | | Database env vars | `POSTGRESQL_ADMIN_PASSWORD` injected manually via `upstream.backstage.extraEnvVars` | `POSTGRES_HOST`, `POSTGRES_PORT`, `POSTGRES_USER`, `POSTGRES_PASSWORD` auto-injected | +| Image digests | No dedicated field | Every image (`image`, `catalogIndex.image`, `intelligentAssistant.core.image`, etc.) has a `digest` field for pinning by digest | +| Global image registry | Not available | `global.imageRegistry` overrides the registry for all container images consistently — useful for disconnected / air-gapped environments | | Lightspeed | `global.lightspeed.*` | Rebranded to `intelligentAssistant.*` | | OpenShift Route | `route.*` | `openshift.route.*` | From e22d2229bba5251f8364be74d27ba1562409b572 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Wed, 2 Sep 2026 21:19:45 +0200 Subject: [PATCH 04/20] 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 --- charts/rhdh/README.md | 2 +- charts/rhdh/values.schema.json | 2 +- charts/rhdh/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/rhdh/README.md b/charts/rhdh/README.md index 1b0011483..0830c8b51 100644 --- a/charts/rhdh/README.md +++ b/charts/rhdh/README.md @@ -271,7 +271,7 @@ Kubernetes: `>= 1.31.0-0` | intelligentAssistant.runtimeVolume.type | Volume type: "emptyDir" or "persistentVolumeClaim". | string | `"emptyDir"` | | livenessProbe | Liveness probe configuration. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":4}` | | metrics | Prometheus metrics configuration. | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":"","labels":{},"path":"/metrics","port":"http-metrics"}}` | -| nameOverride | Override the chart name used in resource naming. | string | `""` | +| nameOverride | Override the chart name used in resource naming. | string | `"developer-hub"` | | nodeSelector | Node labels for pod assignment. | object | `{}` | | openshift | OpenShift-specific configuration. | object | `{"clusterRouterBase":"apps.example.com","route":{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}}` | | openshift.clusterRouterBase | Cluster router base domain used to auto-generate the hostname. | string | `"apps.example.com"` | diff --git a/charts/rhdh/values.schema.json b/charts/rhdh/values.schema.json index 82d38fc8e..30d9911c7 100644 --- a/charts/rhdh/values.schema.json +++ b/charts/rhdh/values.schema.json @@ -1650,7 +1650,7 @@ "type": "object" }, "nameOverride": { - "default": "", + "default": "developer-hub", "title": "Override the chart name used in resource naming.", "type": "string" }, diff --git a/charts/rhdh/values.yaml b/charts/rhdh/values.yaml index a62983eb4..94687ed29 100644 --- a/charts/rhdh/values.yaml +++ b/charts/rhdh/values.yaml @@ -14,7 +14,7 @@ global: # ── Chart metadata overrides ──────────────────────────────── # -- Override the chart name used in resource naming. -nameOverride: "" +nameOverride: developer-hub # -- Override the full resource name. fullnameOverride: "" # -- Labels applied to ALL chart resources. From 2379d1377d2be793733a87cd700e33d28710ac7f Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Wed, 2 Sep 2026 21:20:35 +0200 Subject: [PATCH 05/20] docs: note that nameOverride preserves resource names during migration Ref: RHIDP-16514 --- charts/rhdh/docs/migration-from-backstage-chart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 7ca31c250..e45aaa353 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -37,7 +37,7 @@ flattens configuration to root-level keys. | Aspect | Old chart (`backstage`) | New chart (`redhat-developer-hub`) | |--------|------------------------|------------------------------------| -| Chart name | `backstage` | `redhat-developer-hub` | +| Chart name | `backstage` | `redhat-developer-hub` (but `nameOverride` defaults to `developer-hub`, so resource names and Route URLs are preserved) | | Template ownership | Delegates to upstream Backstage subchart | Owns all templates directly | | System volumes/mounts/env | User had to list them in full under `upstream.backstage.extraVolumes`, `extraVolumeMounts`, `extraEnvVars` | Hardcoded in templates; `extra*` keys only add user values | | Init containers | User had to specify the full init container array | System init containers are managed; use `preInitContainers` / `extraInitContainers` to add custom ones | From bd20d5ba413ba1b358e25fe492a8a735cb058992 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Wed, 23 Sep 2026 23:16:36 +0200 Subject: [PATCH 06/20] 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/migration-from-backstage-chart.md | 63 ++++++++++++++++--- 1 file changed, 56 insertions(+), 7 deletions(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index e45aaa353..a5d71de51 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -33,6 +33,11 @@ flattens configuration to root-level keys. 4. Verify the deployment is healthy. +## Prerequisites + +The new chart requires **Kubernetes 1.31+** (OpenShift 4.18+). If you are +running an older cluster, upgrade it before migrating. + ## Key structural changes | Aspect | Old chart (`backstage`) | New chart (`redhat-developer-hub`) | @@ -47,6 +52,33 @@ flattens configuration to root-level keys. | Lightspeed | `global.lightspeed.*` | Rebranded to `intelligentAssistant.*` | | OpenShift Route | `route.*` | `openshift.route.*` | +## Important behavioral changes + +### Network policies + +The new chart deploys **default-deny** NetworkPolicies for the RHDH pod and +allows only the traffic it knows about (DNS, PostgreSQL, OpenShift +ingress/monitoring). If your deployment relies on additional network +connectivity (e.g., external APIs, custom sidecars, or cross-namespace +services), you must add the corresponding NetworkPolicy rules or the +connections will be silently blocked. + +### New features (no old-chart equivalent) + +These capabilities are new in the `redhat-developer-hub` chart and have no +mapping from the old chart, but are worth knowing about during migration: + +- **StatefulSet workload** — set `workload.kind: StatefulSet` for stable pod + identity and persistent volumes via `volumeClaimTemplates`. +- **Gateway API HTTPRoute** — `httpRoute.*` as an alternative to Ingress or + OpenShift Route. +- **PodDisruptionBudget** — `podDisruptionBudget.create: true` for availability + guarantees during node drains. +- **External database** — `externalDatabase.*` for connecting to a database + outside the cluster when `postgresql.enabled: false`. +- **OKP (Offline Knowledge Portal)** — `intelligentAssistant.okp.*` for + offline RHDH documentation retrieval. + ## Values mapping reference ### Container image @@ -71,6 +103,7 @@ flattens configuration to root-level keys. | Old path | New path | Notes | |----------|----------|-------| | `upstream.backstage.appConfig` | `appConfig` | Entire tree flattened to root | +| `upstream.backstage.extraAppConfig` | `extraAppConfig` | Same format (list of `filename` + `configMapRef`) | | `upstream.backstage.appConfig.backend.database.connection.password` | `appConfig.backend.database.connection.password` | Env var changed from `POSTGRESQL_ADMIN_PASSWORD` to `POSTGRES_PASSWORD` | | `upstream.backstage.appConfig.backend.database.connection.user` | `appConfig.backend.database.connection.user` | Env var changed from hardcoded `postgres` to `POSTGRES_USER` | @@ -94,6 +127,26 @@ flattens configuration to root-level keys. | `upstream.backstage.initContainers[0].securityContext` | `dynamicPlugins.initContainer.securityContext` | | | `upstream.backstage.initContainers[0].env` | `dynamicPlugins.initContainer.extraEnv` | System env vars auto-injected | +### Pod scheduling, replicas, and metadata + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.backstage.replicaCount` | `replicaCount` | | +| `upstream.backstage.podAnnotations` | `podAnnotations` | | +| `upstream.backstage.podLabels` | `podLabels` | | +| `upstream.backstage.nodeSelector` | `nodeSelector` | | +| `upstream.backstage.tolerations` | `tolerations` | | +| `upstream.backstage.affinity` | `affinity` | | + +### Service account + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.serviceAccount.create` | `serviceAccount.create` | Defaults to `false` | +| `upstream.serviceAccount.name` | `serviceAccount.name` | | +| `upstream.serviceAccount.annotations` | `serviceAccount.annotations` | | +| `upstream.serviceAccount.automount` | `serviceAccount.automount` | | + ### Container command, args, and env | Old path | New path | Notes | @@ -101,6 +154,7 @@ flattens configuration to root-level keys. | `upstream.backstage.command` | `commandOverride` | | | `upstream.backstage.args` | `argsOverride` | System `--config` flags now auto-injected | | `upstream.backstage.extraEnvVars` | `extraEnv` | System env vars auto-injected; only add custom ones | +| `upstream.backstage.extraEnvVarsSecrets` | `extraEnvFrom` | Use `secretRef` entries instead of secret name strings | ### Volumes and mounts @@ -203,16 +257,11 @@ flattens configuration to root-level keys. | `global.lightspeed.sidecar.command` | `intelligentAssistant.core.commandOverride` | | | `global.lightspeed.sidecar.args` | `intelligentAssistant.core.argsOverride` | | | `global.lightspeed.sidecar.env` | `intelligentAssistant.core.extraEnv` | | -| `global.lightspeed.initContainer.image` | `intelligentAssistant.ragInit.image.*` | Single string split into `registry`/`repository`/`tag` | -| `global.lightspeed.initContainer.resources` | `intelligentAssistant.ragInit.resources` | | -| `global.lightspeed.initContainer.securityContext` | `intelligentAssistant.ragInit.securityContext` | | -| `global.lightspeed.initContainer.command` | `intelligentAssistant.ragInit.commandOverride` | | -| `global.lightspeed.initContainer.args` | `intelligentAssistant.ragInit.argsOverride` | | -| `global.lightspeed.initContainer.env` | `intelligentAssistant.ragInit.extraEnv` | | +| `global.lightspeed.initContainer.*` | _(removed)_ | The RAG init container no longer exists in the new chart | | `global.lightspeed.runtimeVolume.type` | `intelligentAssistant.runtimeVolume.type` | | | `global.lightspeed.runtimeVolume.emptyDir` | `intelligentAssistant.runtimeVolume.emptyDir` | | | `global.lightspeed.runtimeVolume.persistentVolumeClaim` | `intelligentAssistant.runtimeVolume.persistentVolumeClaim` | | -| `global.lightspeed.configMaps` | `intelligentAssistant.config.{stack,server,profile}.existingConfigMap` | Array replaced with structured per-file config | +| `global.lightspeed.configMaps` | `intelligentAssistant.config.{stack,profile}.existingConfigMap` | Array replaced with structured per-file config | | `global.lightspeed.secret.create` / `.name` | `intelligentAssistant.existingSecret` | Simplified to a secret name string | ### Orchestrator From 8749e1df25c9f25e130011d9a402db402ede64a8 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Wed, 23 Sep 2026 23:36:29 +0200 Subject: [PATCH 07/20] docs: expand migration guide with comprehensive value mappings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .../docs/migration-from-backstage-chart.md | 121 ++++++++++++++++-- 1 file changed, 108 insertions(+), 13 deletions(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index a5d71de51..4ce4f9f15 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -12,6 +12,11 @@ flattens configuration to root-level keys. > `helm upgrade` the release in place. Tooling (a migration script or AI skill) > to automate the values conversion is planned in the near future. +> [!NOTE] +> This guide focuses on values that **changed path, were removed, or changed +> semantics**. Fields not explicitly listed here (e.g., `orchestrator.*`, +> `test.*`) retain the same path and semantics — carry them over as-is. + ## Migration steps 1. Locate your existing values file (typically stored in your Git repo or @@ -47,7 +52,7 @@ running an older cluster, upgrade it before migrating. | System volumes/mounts/env | User had to list them in full under `upstream.backstage.extraVolumes`, `extraVolumeMounts`, `extraEnvVars` | Hardcoded in templates; `extra*` keys only add user values | | Init containers | User had to specify the full init container array | System init containers are managed; use `preInitContainers` / `extraInitContainers` to add custom ones | | Database env vars | `POSTGRESQL_ADMIN_PASSWORD` injected manually via `upstream.backstage.extraEnvVars` | `POSTGRES_HOST`, `POSTGRES_PORT`, `POSTGRES_USER`, `POSTGRES_PASSWORD` auto-injected | -| Image digests | No dedicated field | Every image (`image`, `catalogIndex.image`, `intelligentAssistant.core.image`, etc.) has a `digest` field for pinning by digest | +| Image digests | `upstream.backstage.image.digest` only | Every image (`image`, `catalogIndex.image`, `intelligentAssistant.core.image`, etc.) has a `digest` field for pinning by digest | | Global image registry | Not available | `global.imageRegistry` overrides the registry for all container images consistently — useful for disconnected / air-gapped environments | | Lightspeed | `global.lightspeed.*` | Rebranded to `intelligentAssistant.*` | | OpenShift Route | `route.*` | `openshift.route.*` | @@ -63,6 +68,15 @@ connectivity (e.g., external APIs, custom sidecars, or cross-namespace services), you must add the corresponding NetworkPolicy rules or the connections will be silently blocked. +### Schema validation + +The new chart ships a JSON Schema (`values.schema.json`) that validates your +values at install/upgrade time. Any unrecognized keys — including leftover +`upstream.*` or `global.*` paths that were not migrated — will cause Helm to +fail with a validation error. This makes it easy to catch stale values early, +but it also means a partial migration will not install. Run +`helm template -f new-values.yaml` to validate your file before upgrading. + ### New features (no old-chart equivalent) These capabilities are new in the `redhat-developer-hub` chart and have no @@ -70,10 +84,6 @@ mapping from the old chart, but are worth knowing about during migration: - **StatefulSet workload** — set `workload.kind: StatefulSet` for stable pod identity and persistent volumes via `volumeClaimTemplates`. -- **Gateway API HTTPRoute** — `httpRoute.*` as an alternative to Ingress or - OpenShift Route. -- **PodDisruptionBudget** — `podDisruptionBudget.create: true` for availability - guarantees during node drains. - **External database** — `externalDatabase.*` for connecting to a database outside the cluster when `postgresql.enabled: false`. - **OKP (Offline Knowledge Portal)** — `intelligentAssistant.okp.*` for @@ -88,7 +98,18 @@ mapping from the old chart, but are worth knowing about during migration: | `upstream.backstage.image.registry` | `image.registry` | | `upstream.backstage.image.repository` | `image.repository` | | `upstream.backstage.image.tag` | `image.tag` | +| `upstream.backstage.image.digest` | `image.digest` | | `upstream.backstage.image.pullPolicy` | `image.pullPolicy` | +| `upstream.backstage.image.pullSecrets` | `imagePullSecrets` | Promoted to root | + +### Chart-level overrides + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.nameOverride` | `nameOverride` | Defaults to `developer-hub` to preserve resource names | +| `upstream.fullnameOverride` | `fullnameOverride` | | +| `upstream.commonLabels` | `commonLabels` | | +| `upstream.commonAnnotations` | `commonAnnotations` | | ### Global parameters @@ -132,11 +153,16 @@ mapping from the old chart, but are worth knowing about during migration: | Old path | New path | Notes | |----------|----------|-------| | `upstream.backstage.replicaCount` | `replicaCount` | | +| `upstream.backstage.revisionHistoryLimit` | `revisionHistoryLimit` | | +| `upstream.backstage.strategy` | `strategy` | | +| `upstream.backstage.annotations` | `deploymentAnnotations` | Renamed to clarify these are on the Deployment, not the pod | | `upstream.backstage.podAnnotations` | `podAnnotations` | | | `upstream.backstage.podLabels` | `podLabels` | | | `upstream.backstage.nodeSelector` | `nodeSelector` | | | `upstream.backstage.tolerations` | `tolerations` | | | `upstream.backstage.affinity` | `affinity` | | +| `upstream.backstage.topologySpreadConstraints` | `topologySpreadConstraints` | | +| `upstream.backstage.hostAliases` | `hostAliases` | | ### Service account @@ -155,6 +181,7 @@ mapping from the old chart, but are worth knowing about during migration: | `upstream.backstage.args` | `argsOverride` | System `--config` flags now auto-injected | | `upstream.backstage.extraEnvVars` | `extraEnv` | System env vars auto-injected; only add custom ones | | `upstream.backstage.extraEnvVarsSecrets` | `extraEnvFrom` | Use `secretRef` entries instead of secret name strings | +| `upstream.backstage.extraEnvVarsCM` | `extraEnvFrom` | Use `configMapRef` entries instead of ConfigMap name strings | ### Volumes and mounts @@ -176,6 +203,7 @@ mapping from the old chart, but are worth knowing about during migration: | Old path | New path | |----------|----------| +| `upstream.backstage.podSecurityContext` | `podSecurityContext` | | `upstream.backstage.containerSecurityContext` | `containerSecurityContext` | | `upstream.backstage.resources` | `resources` | @@ -189,9 +217,20 @@ mapping from the old chart, but are worth knowing about during migration: ### Service -| Old path | New path | -|----------|----------| -| `upstream.service.extraPorts` | `service.extraPorts` | +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.service.type` | `service.type` | | +| `upstream.service.ports.backend` | `service.port` | Flattened from `ports.backend` to `port` | +| `upstream.service.nodePorts.backend` | `service.nodePort` | Flattened from `nodePorts.backend` to `nodePort` | +| `upstream.service.extraPorts` | `service.extraPorts` | | +| `upstream.service.clusterIP` | `service.clusterIP` | | +| `upstream.service.loadBalancerIP` | `service.loadBalancerIP` | | +| `upstream.service.loadBalancerSourceRanges` | `service.loadBalancerSourceRanges` | | +| `upstream.service.externalTrafficPolicy` | `service.externalTrafficPolicy` | | +| `upstream.service.sessionAffinity` | `service.sessionAffinity` | | +| `upstream.service.annotations` | `service.annotations` | | +| `upstream.service.ipFamilyPolicy` | `service.ipFamilyPolicy` | | +| `upstream.service.ipFamilies` | `service.ipFamilies` | | ### OpenShift Route @@ -210,12 +249,47 @@ mapping from the old chart, but are worth knowing about during migration: | `route.tls.destinationCACertificate` | `openshift.route.tls.destinationCACertificate` | | `route.tls.insecureEdgeTerminationPolicy` | `openshift.route.tls.insecureEdgeTerminationPolicy` | +### Autoscaling (HPA) + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.backstage.autoscaling.enabled` | `autoscaling.enabled` | | +| `upstream.backstage.autoscaling.minReplicas` | `autoscaling.minReplicas` | | +| `upstream.backstage.autoscaling.maxReplicas` | `autoscaling.maxReplicas` | Old default was `100`, new default is `3` | +| `upstream.backstage.autoscaling.targetCPUUtilizationPercentage` | `autoscaling.targetCPUUtilizationPercentage` | | +| `upstream.backstage.autoscaling.targetMemoryUtilizationPercentage` | `autoscaling.targetMemoryUtilizationPercentage` | | + +### Pod Disruption Budget + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.backstage.pdb.create` | `podDisruptionBudget.create` | | +| `upstream.backstage.pdb.minAvailable` | `podDisruptionBudget.minAvailable` | | +| `upstream.backstage.pdb.maxUnavailable` | `podDisruptionBudget.maxUnavailable` | | + +### Gateway API HTTPRoute + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.httpRoute.enabled` | `httpRoute.enabled` | | +| `upstream.httpRoute.labels` | `httpRoute.labels` | | +| `upstream.httpRoute.annotations` | `httpRoute.annotations` | | +| `upstream.httpRoute.parentRefs` | `httpRoute.parentRefs` | | +| `upstream.httpRoute.hostnames` | `httpRoute.hostnames` | | +| `upstream.httpRoute.rules` | `httpRoute.rules` | | + ### Ingress | Old path | New path | Notes | |----------|----------|-------| | `upstream.ingress.enabled` | `ingress.enabled` | | +| `upstream.ingress.className` | `ingress.className` | | +| `upstream.ingress.annotations` | `ingress.annotations` | | | `upstream.ingress.host` | `ingress.hosts[].host` | Now an array of host objects | +| `upstream.ingress.path` | `ingress.hosts[].paths[].path` | Nested under hosts array | +| `upstream.ingress.extraHosts` | `ingress.hosts[]` | Merged into main hosts array | +| `upstream.ingress.tls.enabled` / `tls.secretName` | `ingress.tls[]` | Now a list of TLS entries | +| `upstream.ingress.extraTls` | `ingress.tls[]` | Merged into main tls array | ### Catalog index @@ -244,6 +318,17 @@ mapping from the old chart, but are worth knowing about during migration: | `upstream.metrics.serviceMonitor.enabled` | `metrics.serviceMonitor.enabled` | | `upstream.metrics.serviceMonitor.path` | `metrics.serviceMonitor.path` | | `upstream.metrics.serviceMonitor.port` | `metrics.serviceMonitor.port` | +| `upstream.metrics.serviceMonitor.interval` | `metrics.serviceMonitor.interval` | +| `upstream.metrics.serviceMonitor.labels` | `metrics.serviceMonitor.labels` | +| `upstream.metrics.serviceMonitor.annotations` | `metrics.serviceMonitor.annotations` | + +### Network policies + +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.networkPolicy.enabled` | _(removed)_ | New chart always deploys default-deny NetworkPolicies; see [Important behavioral changes](#important-behavioral-changes) | +| `upstream.networkPolicy.ingressRules.*` | _(removed)_ | | +| `upstream.networkPolicy.egressRules.*` | _(removed)_ | | ### Intelligent Assistant (formerly Lightspeed) @@ -268,8 +353,6 @@ mapping from the old chart, but are worth knowing about during migration: | Old path | New path | Notes | |----------|----------|-------| -| `orchestrator.enabled` | `orchestrator.enabled` | | -| `orchestrator.plugins` | `orchestrator.plugins` | | | `orchestrator.sonataflowPlatform.externalDBsecretRef` | `orchestrator.sonataflowPlatform.externalDB.existingSecret` | Restructured | | `orchestrator.sonataflowPlatform.externalDBName` | `orchestrator.sonataflowPlatform.externalDB.name` | | | `orchestrator.sonataflowPlatform.externalDBHost` | `orchestrator.sonataflowPlatform.externalDB.host` | | @@ -283,8 +366,20 @@ mapping from the old chart, but are worth knowing about during migration: | Old path | New path | Notes | |----------|----------|-------| -| `test.enabled` | `test.enabled` | | -| `test.image.registry` | `test.image.registry` | | -| `test.image.repository` | `test.image.repository` | | | `test.image.tag` | `test.image.tag` | Default changed from `latest` to a pinned version | | `test.injectTestNpmrcSecret` | _(removed)_ | No longer needed | + +### Removed values (no equivalent) + +The following old-chart values have no equivalent in the new chart because the +functionality is either hardcoded or no longer applicable: + +| Old path | Notes | +|----------|-------| +| `upstream.backstage.installDir` | Hardcoded in the new chart | +| `upstream.backstage.containerPorts.backend` | Hardcoded to `7007` | +| `upstream.backstage.extraPorts` | Use `service.extraPorts` instead | +| `upstream.backstage.lifecycleHooks` | Not supported | +| `upstream.backstage.priorityClassName` | Not supported | +| `upstream.backstage.terminationGracePeriodSeconds` | Not supported | +| `upstream.diagnosticMode.*` | Not supported | From 2bdca3d774ca1fb67b47c59a7c7ed60f2526576f Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 00:29:11 +0200 Subject: [PATCH 08/20] chore(rhdh): bump chart version to 3.4.2 Ref: RHIDP-16514 --- charts/rhdh/Chart.yaml | 2 +- charts/rhdh/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/rhdh/Chart.yaml b/charts/rhdh/Chart.yaml index 9fc318b89..b95ac62ba 100644 --- a/charts/rhdh/Chart.yaml +++ b/charts/rhdh/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: redhat-developer-hub type: application -version: 3.4.1 +version: 3.4.2 appVersion: 2.1.0 annotations: artifacthub.io/category: integration-delivery diff --git a/charts/rhdh/README.md b/charts/rhdh/README.md index 9872f041d..c706a92b1 100644 --- a/charts/rhdh/README.md +++ b/charts/rhdh/README.md @@ -1,6 +1,6 @@ # RHDH Helm Chart for OpenShift and Kubernetes -![Version: 3.4.1](https://img.shields.io/badge/Version-3.4.1-informational?style=flat-square) +![Version: 3.4.2](https://img.shields.io/badge/Version-3.4.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Helm chart for deploying Red Hat Developer Hub, which is a Red Hat supported version of Backstage. @@ -35,7 +35,7 @@ For the **Generally Available** version of this chart, see: helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart -helm install my-rhdh redhat-developer/redhat-developer-hub --version 3.4.1 +helm install my-rhdh redhat-developer/redhat-developer-hub --version 3.4.2 ``` ## Introduction From bbee3ee67b07384ab499062219169d34b58138ad Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 00:37:55 +0200 Subject: [PATCH 09/20] 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 --- .../rhdh/docs/migration-from-backstage-chart.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 4ce4f9f15..d82348521 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -110,6 +110,7 @@ mapping from the old chart, but are worth knowing about during migration: | `upstream.fullnameOverride` | `fullnameOverride` | | | `upstream.commonLabels` | `commonLabels` | | | `upstream.commonAnnotations` | `commonAnnotations` | | +| `upstream.extraDeploy` | `extraDeploy` | | ### Global parameters @@ -152,7 +153,7 @@ mapping from the old chart, but are worth knowing about during migration: | Old path | New path | Notes | |----------|----------|-------| -| `upstream.backstage.replicaCount` | `replicaCount` | | +| `upstream.backstage.replicas` | `replicaCount` | Renamed | | `upstream.backstage.revisionHistoryLimit` | `revisionHistoryLimit` | | | `upstream.backstage.strategy` | `strategy` | | | `upstream.backstage.annotations` | `deploymentAnnotations` | Renamed to clarify these are on the Deployment, not the pod | @@ -163,6 +164,9 @@ mapping from the old chart, but are worth knowing about during migration: | `upstream.backstage.affinity` | `affinity` | | | `upstream.backstage.topologySpreadConstraints` | `topologySpreadConstraints` | | | `upstream.backstage.hostAliases` | `hostAliases` | | +| `upstream.backstage.priorityClassName` | `priorityClassName` | | +| `upstream.backstage.terminationGracePeriodSeconds` | `terminationGracePeriodSeconds` | | +| `upstream.backstage.lifecycleHooks` | `lifecycleHooks` | | ### Service account @@ -171,7 +175,8 @@ mapping from the old chart, but are worth knowing about during migration: | `upstream.serviceAccount.create` | `serviceAccount.create` | Defaults to `false` | | `upstream.serviceAccount.name` | `serviceAccount.name` | | | `upstream.serviceAccount.annotations` | `serviceAccount.annotations` | | -| `upstream.serviceAccount.automount` | `serviceAccount.automount` | | +| `upstream.serviceAccount.automountServiceAccountToken` | `serviceAccount.automount` | Renamed | +| `upstream.serviceAccount.labels` | `serviceAccount.labels` | | ### Container command, args, and env @@ -197,7 +202,7 @@ mapping from the old chart, but are worth knowing about during migration: | `upstream.backstage.initContainers` | _(managed by chart)_ | System init containers no longer user-configurable | | _(none)_ | `preInitContainers` | Runs **before** system init containers | | _(none)_ | `extraInitContainers` | Runs **after** system init containers | -| _(none)_ | `extraContainers` | Additional sidecars | +| `upstream.backstage.extraContainers` | `extraContainers` | | ### Security contexts and resources @@ -346,7 +351,7 @@ mapping from the old chart, but are worth knowing about during migration: | `global.lightspeed.runtimeVolume.type` | `intelligentAssistant.runtimeVolume.type` | | | `global.lightspeed.runtimeVolume.emptyDir` | `intelligentAssistant.runtimeVolume.emptyDir` | | | `global.lightspeed.runtimeVolume.persistentVolumeClaim` | `intelligentAssistant.runtimeVolume.persistentVolumeClaim` | | -| `global.lightspeed.configMaps` | `intelligentAssistant.config.{stack,profile}.existingConfigMap` | Array replaced with structured per-file config | +| `global.lightspeed.configMaps` | `intelligentAssistant.config.{stack,profile}.existingConfigMap` | Array replaced with structured per-file config; the old `config` (config.yaml) entry was dropped | | `global.lightspeed.secret.create` / `.name` | `intelligentAssistant.existingSecret` | Simplified to a secret name string | ### Orchestrator @@ -379,7 +384,4 @@ functionality is either hardcoded or no longer applicable: | `upstream.backstage.installDir` | Hardcoded in the new chart | | `upstream.backstage.containerPorts.backend` | Hardcoded to `7007` | | `upstream.backstage.extraPorts` | Use `service.extraPorts` instead | -| `upstream.backstage.lifecycleHooks` | Not supported | -| `upstream.backstage.priorityClassName` | Not supported | -| `upstream.backstage.terminationGracePeriodSeconds` | Not supported | | `upstream.diagnosticMode.*` | Not supported | From 647e8829a6a6e868befe6e135630cf6ac701fdd3 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 00:52:30 +0200 Subject: [PATCH 10/20] docs: clarify Intelligent Assistant configMaps migration note Ref: RHIDP-16514 --- charts/rhdh/docs/migration-from-backstage-chart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index d82348521..30f0d33c6 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -351,7 +351,7 @@ mapping from the old chart, but are worth knowing about during migration: | `global.lightspeed.runtimeVolume.type` | `intelligentAssistant.runtimeVolume.type` | | | `global.lightspeed.runtimeVolume.emptyDir` | `intelligentAssistant.runtimeVolume.emptyDir` | | | `global.lightspeed.runtimeVolume.persistentVolumeClaim` | `intelligentAssistant.runtimeVolume.persistentVolumeClaim` | | -| `global.lightspeed.configMaps` | `intelligentAssistant.config.{stack,profile}.existingConfigMap` | Array replaced with structured per-file config; the old `config` (config.yaml) entry was dropped | +| `global.lightspeed.configMaps` | `intelligentAssistant.config.{stack,profile}.existingConfigMap` | Array of 3 configMaps replaced with 2 structured entries; the separate `config.yaml` is no longer needed because the llama-stack configuration is now inlined in `lightspeed-stack.yaml` | | `global.lightspeed.secret.create` / `.name` | `intelligentAssistant.existingSecret` | Simplified to a secret name string | ### Orchestrator From 54b91717cdb4b0a204e97306c9bcaf426ae5e432 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 01:05:29 +0200 Subject: [PATCH 11/20] 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 --- charts/rhdh/docs/migration-from-backstage-chart.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 30f0d33c6..8a43a4f35 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -119,6 +119,7 @@ mapping from the old chart, but are worth knowing about during migration: | `global.clusterRouterBase` | `openshift.clusterRouterBase` | | | `global.host` | `host` | Promoted to root | | `global.imagePullSecrets` | `global.imagePullSecrets` | Unchanged (used by bitnami subcharts) | +| _(none)_ | `global.imageRegistry` | New; overrides the registry for all container images — useful for disconnected / air-gapped environments | ### App config @@ -347,12 +348,20 @@ mapping from the old chart, but are worth knowing about during migration: | `global.lightspeed.sidecar.command` | `intelligentAssistant.core.commandOverride` | | | `global.lightspeed.sidecar.args` | `intelligentAssistant.core.argsOverride` | | | `global.lightspeed.sidecar.env` | `intelligentAssistant.core.extraEnv` | | +| `global.lightspeed.sidecar.imagePullPolicy` | `intelligentAssistant.core.imagePullPolicy` | | | `global.lightspeed.initContainer.*` | _(removed)_ | The RAG init container no longer exists in the new chart | +| `global.lightspeed.ragVolume.*` | _(removed)_ | No longer needed without the RAG init container | +| `global.lightspeed.sidecar.name` | _(hardcoded)_ | Chart manages the container name internally | +| `global.lightspeed.sidecar.portName` | _(hardcoded)_ | Chart manages the port name internally | +| `global.lightspeed.sidecar.containerPort` | _(hardcoded)_ | Chart manages the container port internally | | `global.lightspeed.runtimeVolume.type` | `intelligentAssistant.runtimeVolume.type` | | | `global.lightspeed.runtimeVolume.emptyDir` | `intelligentAssistant.runtimeVolume.emptyDir` | | | `global.lightspeed.runtimeVolume.persistentVolumeClaim` | `intelligentAssistant.runtimeVolume.persistentVolumeClaim` | | +| `global.lightspeed.runtimeVolume.name` | _(hardcoded)_ | Chart manages volume names internally | +| `global.lightspeed.runtimeVolume.mountPath` | _(hardcoded)_ | Chart manages mount paths internally | | `global.lightspeed.configMaps` | `intelligentAssistant.config.{stack,profile}.existingConfigMap` | Array of 3 configMaps replaced with 2 structured entries; the separate `config.yaml` is no longer needed because the llama-stack configuration is now inlined in `lightspeed-stack.yaml` | | `global.lightspeed.secret.create` / `.name` | `intelligentAssistant.existingSecret` | Simplified to a secret name string | +| `global.lightspeed.secret.optional` | _(removed)_ | No longer needed; the secret is only mounted when `intelligentAssistant.existingSecret` is set | ### Orchestrator @@ -366,6 +375,9 @@ mapping from the old chart, but are worth knowing about during migration: | `orchestrator.sonataflowPlatform.createDBJobImage` | `orchestrator.sonataflowPlatform.dbCreationJob.image.*` | Merged with `initContainerImage` | | `orchestrator.sonataflowPlatform.dataIndexImage` | `orchestrator.sonataflowPlatform.dataIndex.image.*` | Single string split into structured image fields | | `orchestrator.sonataflowPlatform.jobServiceImage` | `orchestrator.sonataflowPlatform.jobService.image.*` | Single string split into structured image fields | +| `orchestrator.sonataflowPlatform.dbCreationJobBackoffLimit` | `orchestrator.sonataflowPlatform.dbCreationJob.backoffLimit` | Nested under `dbCreationJob` | +| `orchestrator.sonataflowPlatform.dbCreationJobTTLSecondsAfterFinished` | `orchestrator.sonataflowPlatform.dbCreationJob.ttlSecondsAfterFinished` | Nested under `dbCreationJob` | +| `orchestrator.sonataflowPlatform.dbCreationJobActiveDeadlineSeconds` | `orchestrator.sonataflowPlatform.dbCreationJob.activeDeadlineSeconds` | Nested under `dbCreationJob` | ### Test pod From 147ec655c9d49e3ad6411a4af60bdbc8a9b1c921 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 01:13:09 +0200 Subject: [PATCH 12/20] 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/migration-from-backstage-chart.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 8a43a4f35..6389c4f86 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -75,7 +75,7 @@ values at install/upgrade time. Any unrecognized keys — including leftover `upstream.*` or `global.*` paths that were not migrated — will cause Helm to fail with a validation error. This makes it easy to catch stale values early, but it also means a partial migration will not install. Run -`helm template -f new-values.yaml` to validate your file before upgrading. +`helm template redhat-developer/redhat-developer-hub -f new-values.yaml` to validate your file before upgrading. ### New features (no old-chart equivalent) @@ -93,13 +93,13 @@ mapping from the old chart, but are worth knowing about during migration: ### Container image -| Old path | New path | -|----------|----------| -| `upstream.backstage.image.registry` | `image.registry` | -| `upstream.backstage.image.repository` | `image.repository` | -| `upstream.backstage.image.tag` | `image.tag` | -| `upstream.backstage.image.digest` | `image.digest` | -| `upstream.backstage.image.pullPolicy` | `image.pullPolicy` | +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.backstage.image.registry` | `image.registry` | | +| `upstream.backstage.image.repository` | `image.repository` | | +| `upstream.backstage.image.tag` | `image.tag` | | +| `upstream.backstage.image.digest` | `image.digest` | | +| `upstream.backstage.image.pullPolicy` | `image.pullPolicy` | | | `upstream.backstage.image.pullSecrets` | `imagePullSecrets` | Promoted to root | ### Chart-level overrides @@ -200,7 +200,7 @@ mapping from the old chart, but are worth knowing about during migration: | Old path | New path | Notes | |----------|----------|-------| -| `upstream.backstage.initContainers` | _(managed by chart)_ | System init containers no longer user-configurable | +| `upstream.backstage.initContainers` | _(hardcoded)_ | System init containers no longer user-configurable | | _(none)_ | `preInitContainers` | Runs **before** system init containers | | _(none)_ | `extraInitContainers` | Runs **after** system init containers | | `upstream.backstage.extraContainers` | `extraContainers` | | @@ -395,5 +395,5 @@ functionality is either hardcoded or no longer applicable: |----------|-------| | `upstream.backstage.installDir` | Hardcoded in the new chart | | `upstream.backstage.containerPorts.backend` | Hardcoded to `7007` | -| `upstream.backstage.extraPorts` | Use `service.extraPorts` instead | +| `upstream.backstage.extraPorts` | Moved to `service.extraPorts` | | `upstream.diagnosticMode.*` | Not supported | From 80662ae1d93a87e97cefd7c84dacf2290f51f442 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 01:15:48 +0200 Subject: [PATCH 13/20] docs: clarify init container configurability in migration guide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The install-dynamic-plugins init container is configurable via dynamicPlugins.initContainer.* — not fully hardcoded. Ref: RHIDP-16514 --- charts/rhdh/docs/migration-from-backstage-chart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 6389c4f86..a0523d4be 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -50,7 +50,7 @@ running an older cluster, upgrade it before migrating. | Chart name | `backstage` | `redhat-developer-hub` (but `nameOverride` defaults to `developer-hub`, so resource names and Route URLs are preserved) | | Template ownership | Delegates to upstream Backstage subchart | Owns all templates directly | | System volumes/mounts/env | User had to list them in full under `upstream.backstage.extraVolumes`, `extraVolumeMounts`, `extraEnvVars` | Hardcoded in templates; `extra*` keys only add user values | -| Init containers | User had to specify the full init container array | System init containers are managed; use `preInitContainers` / `extraInitContainers` to add custom ones | +| Init containers | User had to specify the full init container array | System init containers are managed by the chart (e.g., `install-dynamic-plugins` is configurable via `dynamicPlugins.initContainer.*`); use `preInitContainers` / `extraInitContainers` to add custom ones | | Database env vars | `POSTGRESQL_ADMIN_PASSWORD` injected manually via `upstream.backstage.extraEnvVars` | `POSTGRES_HOST`, `POSTGRES_PORT`, `POSTGRES_USER`, `POSTGRES_PASSWORD` auto-injected | | Image digests | `upstream.backstage.image.digest` only | Every image (`image`, `catalogIndex.image`, `intelligentAssistant.core.image`, etc.) has a `digest` field for pinning by digest | | Global image registry | Not available | `global.imageRegistry` overrides the registry for all container images consistently — useful for disconnected / air-gapped environments | @@ -200,7 +200,7 @@ mapping from the old chart, but are worth knowing about during migration: | Old path | New path | Notes | |----------|----------|-------| -| `upstream.backstage.initContainers` | _(hardcoded)_ | System init containers no longer user-configurable | +| `upstream.backstage.initContainers` | _(see below)_ | System init containers are no longer specified as raw arrays; configure the `install-dynamic-plugins` init container via `dynamicPlugins.initContainer.*` (resources, securityContext, command/args overrides, extra env, extra volume mounts) | | _(none)_ | `preInitContainers` | Runs **before** system init containers | | _(none)_ | `extraInitContainers` | Runs **after** system init containers | | `upstream.backstage.extraContainers` | `extraContainers` | | From de0f96a6fcde6d30d70bae9da36bc25dda694773 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 01:20:24 +0200 Subject: [PATCH 14/20] docs: add statefulSetPVC guidance for StatefulSet workload Ref: RHIDP-16514 --- charts/rhdh/docs/migration-from-backstage-chart.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index a0523d4be..0da73ca34 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -83,7 +83,10 @@ These capabilities are new in the `redhat-developer-hub` chart and have no mapping from the old chart, but are worth knowing about during migration: - **StatefulSet workload** — set `workload.kind: StatefulSet` for stable pod - identity and persistent volumes via `volumeClaimTemplates`. + identity and persistent volumes via `volumeClaimTemplates`. Pair with + `dynamicPlugins.volume.type: statefulSetPVC` and + `dynamicPlugins.volume.statefulSetPVC` to get per-pod stable caching for + dynamic plugins. - **External database** — `externalDatabase.*` for connecting to a database outside the cluster when `postgresql.enabled: false`. - **OKP (Offline Knowledge Portal)** — `intelligentAssistant.okp.*` for From c5189a5a4dbfca34e511e361586e5753b0d6b4c0 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 01:29:24 +0200 Subject: [PATCH 15/20] run pre-commit hooks --- charts/rhdh/README.md | 311 +++++++++++++++++++++--------------------- 1 file changed, 156 insertions(+), 155 deletions(-) diff --git a/charts/rhdh/README.md b/charts/rhdh/README.md index c706a92b1..d1aa791a4 100644 --- a/charts/rhdh/README.md +++ b/charts/rhdh/README.md @@ -1,3 +1,4 @@ + # RHDH Helm Chart for OpenShift and Kubernetes ![Version: 3.4.2](https://img.shields.io/badge/Version-3.4.2-informational?style=flat-square) @@ -173,161 +174,161 @@ Kubernetes: `>= 1.31.0-0` ## Values -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| affinity | object | `{}` | Affinity rules for pod assignment. | -| appConfig | object | Default config with base URLs, CORS, database connection, and backend auth. | Inline Backstage app-config YAML. Rendered into a ConfigMap and mounted as app-config-from-configmap.yaml. | -| argsOverride | list | `[]` | Override the container arguments entirely. When set, system config arguments are NOT added automatically; you must include them yourself. | -| auth | object | `{"backend":{"enabled":true,"existingSecretRef":{"key":"backend-secret","name":""},"value":""}}` | Service-to-service authentication configuration. | -| auth.backend.enabled | bool | `true` | Enable backend service-to-service authentication. Generates a random secret unless existingSecretRef is set or value is provided. Disable if you inject the secret via extraEnvFrom or extraEnv instead. | -| auth.backend.existingSecretRef | object | `{"key":"backend-secret","name":""}` | Reference an existing Secret instead of generating one. When not set, the chart auto-generates a random token. | -| auth.backend.existingSecretRef.key | string | `"backend-secret"` | Key within the Secret that holds the backend auth token. | -| auth.backend.existingSecretRef.name | string | `""` | Name of the existing Secret. When empty, the chart generates one. | -| auth.backend.value | string | `""` | Use a specific value instead of generating one. | -| autoscaling | object | `{"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | Horizontal Pod Autoscaler configuration. | -| catalogIndex | object | `{"extraImages":[],"image":{"digest":"","registry":"quay.io","repository":"rhdh/plugin-catalog-index","tag":"next"}}` | Catalog index configuration for automatic plugin discovery. | -| catalogIndex.extraImages | list | `[]` | Extra catalog index images for additional plugin discovery in the Extensions UI. Each item must include `registry`, `repository`, and `tag` fields; `name` and `digest` are optional. Only catalog entities are extracted from extra images (no `dynamic-plugins.default.yaml` handling). | -| commandOverride | list | `[]` | Override the container command. | -| commonAnnotations | object | `{}` | Annotations applied to ALL chart resources. | -| commonLabels | object | `{}` | Labels applied to ALL chart resources. | -| containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | Security context for the main RHDH container (not the Lightspeed Core sidecar or init containers). | -| deploymentAnnotations | object | `{}` | Annotations for the Deployment resource (not the pod). | -| dynamicPlugins | object | `{"includes":["dynamic-plugins.default.yaml"],"initContainer":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}},"maxEntrySize":40000000,"plugins":[],"volume":{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"}}` | Dynamic plugin system configuration. | -| dynamicPlugins.includes | list | `["dynamic-plugins.default.yaml"]` | Array of YAML files listing dynamic plugins to include. Relative paths are resolved from the working directory of the initContainer (`/opt/app-root/src`). | -| dynamicPlugins.initContainer | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}}` | Configuration for the install-dynamic-plugins init container. | -| dynamicPlugins.initContainer.argsOverride | list | `[]` | Override the default arguments. Leave empty to use the defaults. | -| dynamicPlugins.initContainer.commandOverride | list | `[]` | Override the default command. Leave empty to use the default (./install-dynamic-plugins.sh /dynamic-plugins-root). | -| dynamicPlugins.initContainer.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | -| dynamicPlugins.initContainer.extraEnv | list | `[]` | Extra environment variables appended after the system env vars (NPM_CONFIG_USERCONFIG, MAX_ENTRY_SIZE, CATALOG_INDEX_IMAGE, etc.). | -| dynamicPlugins.initContainer.extraVolumeMounts | list | `[]` | Additional volume mounts appended after the system mounts (dynamic-plugins-root, npmrc, registry-auth, npmcacache, extensions-catalog, temp). | -| dynamicPlugins.initContainer.resources | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | Resource requests and limits. | -| dynamicPlugins.initContainer.securityContext | object | Same as containerSecurityContext | Security context for the init container. | -| dynamicPlugins.maxEntrySize | int | `40000000` | Maximum uncompressed size (in bytes) of a single dynamic plugin entry. | -| dynamicPlugins.plugins | list | `[]` | List of dynamic plugins. Every item defines the plugin `package` as a NPM package spec or OCI reference. | -| dynamicPlugins.volume | object | `{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"}` | Volume configuration for the dynamic plugins root directory. | -| dynamicPlugins.volume.emptyDir | object | `{}` | Raw Kubernetes emptyDir volume spec. Used when type is "emptyDir". | -| dynamicPlugins.volume.ephemeral | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | Ephemeral volume configuration. Used when type is "ephemeral". The chart builds the full ephemeral.volumeClaimTemplate.spec from these fields. | -| dynamicPlugins.volume.ephemeral.accessModes | list | `["ReadWriteOnce"]` | Access modes for the ephemeral PVC. | -| dynamicPlugins.volume.ephemeral.resources | object | `{"requests":{"storage":"5Gi"}}` | Resource requests for the ephemeral PVC. | -| dynamicPlugins.volume.ephemeral.storageClassName | string | `""` | StorageClass for the ephemeral volume. When empty, uses global.defaultStorageClass or the cluster default. | -| dynamicPlugins.volume.pvc | object | `{"claimName":""}` | Raw Kubernetes persistentVolumeClaim volume spec. Used when type is "pvc". | -| dynamicPlugins.volume.statefulSetPVC | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | StatefulSet-owned PVC volume spec. Used when type is "statefulSetPVC". | -| dynamicPlugins.volume.statefulSetPVC.accessModes | list | `["ReadWriteOnce"]` | Access modes for the StatefulSet-owned PVC. | -| dynamicPlugins.volume.statefulSetPVC.resources | object | `{"requests":{"storage":"5Gi"}}` | Resource requests for the StatefulSet-owned PVC. | -| dynamicPlugins.volume.statefulSetPVC.storageClassName | string | `""` | StorageClass. When empty, uses global.defaultStorageClass or the cluster default. | -| dynamicPlugins.volume.type | string | `"ephemeral"` | Volume type: "ephemeral" (auto-provisioned PVC per pod), "emptyDir" (scratch space, lost on pod restart), "pvc" (pre-existing PersistentVolumeClaim), or "statefulSetPVC" (StatefulSet volumeClaimTemplate; requires workload.kind=StatefulSet). | -| envFromOverride | list | `[]` | Override the container envFrom entirely. When set, extraEnvFrom is ignored. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | -| envOverride | list | `[]` | Override the container environment variables entirely. When set, system env vars (BACKEND_SECRET, DB credentials, etc.) are NOT added automatically. | -| externalDatabase | object | `{"existingSecretRef":{"key":"password","name":""},"host":"","port":5432,"user":"postgres"}` | External database connection. Used when postgresql.enabled is false. See docs/external-db.md for TLS setup and privilege requirements. When both postgresql.enabled and externalDatabase.host are false/empty, the chart renders no database env vars (BYO configuration via extraEnv or appConfig). | -| externalDatabase.existingSecretRef | object | `{"key":"password","name":""}` | Reference to an existing Secret containing the database password. | -| externalDatabase.existingSecretRef.key | string | `"password"` | Key within the Secret that holds the password. | -| externalDatabase.existingSecretRef.name | string | `""` | Name of the existing Secret. | -| externalDatabase.host | string | `""` | External database hostname. | -| externalDatabase.port | int | `5432` | External database port. | -| externalDatabase.user | string | `"postgres"` | External database user. | -| extraAppConfig | list | `[]` | Additional app-config files from existing ConfigMaps. | -| extraArgs | list | `[]` | Extra arguments appended after the system config flags. | -| extraContainers | list | `[]` | Additional sidecar containers. These are ADDED to system containers (e.g. Lightspeed Core sidecar), never replacing them. | -| extraDeploy | list | `[]` | Array of extra objects to deploy with the release (rendered through `tpl`). Each element is a complete Kubernetes manifest; Helm template expressions are supported. | -| extraEnv | list | `[]` | Extra environment variables appended after the system env vars. | -| extraEnvFrom | list | `[]` | Extra envFrom entries appended to the container. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | -| extraInitContainers | list | `[]` | Additional init containers. These are ADDED after system init containers (install-dynamic-plugins), never replacing them. | -| extraVolumeMounts | list | `[]` | Additional volume mounts to add to the main container. These are ADDED to system-required mounts, never replacing them. | -| extraVolumes | list | `[]` | Additional volumes to add to the pod. These are ADDED to system-required volumes (dynamic-plugins-root, temp, npmcacache, etc.), never replacing them. | -| fullnameOverride | string | `""` | Override the full resource name. | -| global | object | `{"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":""}` | Global parameters shared with bitnami subcharts (postgresql, common). | -| global.defaultStorageClass | string | `""` | Global default StorageClass for PVCs. | -| global.imagePullSecrets | list | `[]` | Global Docker registry secret names. | -| global.imageRegistry | string | `""` | Global Docker image registry. Overrides per-image registries for all containers. | -| host | string | `""` | Custom hostname. Overrides openshift.clusterRouterBase for URL generation. | -| hostAliases | list | `[]` | Host aliases for /etc/hosts entries. | -| httpRoute | object | `{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[],"rules":[]}` | Gateway API HTTPRoute configuration. | -| httpRoute.labels | object | `{}` | Additional labels for the HTTPRoute resource. | -| image | object | `{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"rhdh-community/rhdh","tag":"next"}` | Container image configuration. | -| image.digest | string | `""` | Overrides the image tag with an image digest. | -| imagePullSecrets | list | `[]` | Secrets for pulling images from private registries (merged with global.imagePullSecrets). | -| ingress | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"{{ .Values.host }}","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | Kubernetes Ingress configuration. | -| intelligentAssistant | object | `{"config":{"profile":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}},"core":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.7.0rc3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"enabled":true,"existingSecret":"","okp":{"affinity":{},"enabled":false,"httpd":{"compressed":"true","encrypt":"false","serverName":"localhost"},"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"registry.redhat.io","repository":"offline-knowledge-portal/rhokp-rhel9","tag":"1.2.12-1788274041"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":true,"host":"","tls":{"enabled":false,"secretName":""}},"livenessProbe":{"initialDelaySeconds":30,"periodSeconds":30},"nodeSelector":{},"readinessProbe":{"initialDelaySeconds":10,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"200m","memory":"2Gi"}},"route":{"enabled":true,"tls":{"insecureEdgeTerminationPolicy":"Redirect","termination":"edge"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}},"service":{"type":"ClusterIP"},"solr":{"hostBind":"0.0.0.0","memory":"1g"},"tolerations":[],"topologySpreadConstraints":[]},"plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}],"runtimeVolume":{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}}` | Built-in Intelligent Assistant feature configuration. | -| intelligentAssistant.config | object | `{"profile":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}}` | Configuration files mounted into the sidecar. By default, the chart creates ConfigMaps from bundled source files. Set existingConfigMap to use a pre-existing ConfigMap instead. | -| intelligentAssistant.config.profile | object | `{"existingConfigMap":{"key":"","name":""}}` | Python profile with prompt templates (rhdh-profile.py). | -| intelligentAssistant.config.profile.existingConfigMap | object | Created from bundled rhdh-profile.py | Use an existing ConfigMap instead of the bundled default. | -| intelligentAssistant.config.profile.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (rhdh-profile.py) if not set. | -| intelligentAssistant.config.profile.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | -| intelligentAssistant.config.stack | object | `{"existingConfigMap":{"key":"","name":""}}` | Lightspeed Core service configuration (lightspeed-stack.yaml). | -| intelligentAssistant.config.stack.existingConfigMap | object | Created from bundled lightspeed-stack.yaml | Use an existing ConfigMap instead of the bundled default. | -| intelligentAssistant.config.stack.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (lightspeed-stack.yaml) if not set. | -| intelligentAssistant.config.stack.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | -| intelligentAssistant.core | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.7.0rc3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | Lightspeed Core sidecar container. | -| intelligentAssistant.core.argsOverride | list | `[]` | Override the container's default args. Leave empty to use the chart defaults. | -| intelligentAssistant.core.commandOverride | list | `[]` | Override the container's default command. Leave empty to use the image entrypoint. | -| intelligentAssistant.core.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | -| intelligentAssistant.existingSecret | string | `""` | Name of an existing Secret that supplies credentials and settings to the lightspeed-core container. Configure the provider itself in lightspeed-stack.yaml. If empty, no Secret is loaded. Expected keys (all optional; include only keys used by the configured provider): VLLM_URL, VLLM_API_KEY, VLLM_MAX_TOKENS, VLLM_TLS_VERIFY, OPENAI_API_KEY, VERTEX_AI_PROJECT, VERTEX_AI_LOCATION, GOOGLE_APPLICATION_CREDENTIALS, ENABLE_VALIDATION, VALIDATION_PROVIDER, VALIDATION_MODEL_NAME Set ENABLE_VALIDATION to question_validity to enable validation. GOOGLE_APPLICATION_CREDENTIALS must be a path to a credentials file mounted in the sidecar. See files/intelligent-assistant/secret.example.yaml for a reference template. | -| intelligentAssistant.okp | object | `{"affinity":{},"enabled":false,"httpd":{"compressed":"true","encrypt":"false","serverName":"localhost"},"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"registry.redhat.io","repository":"offline-knowledge-portal/rhokp-rhel9","tag":"1.2.12-1788274041"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":true,"host":"","tls":{"enabled":false,"secretName":""}},"livenessProbe":{"initialDelaySeconds":30,"periodSeconds":30},"nodeSelector":{},"readinessProbe":{"initialDelaySeconds":10,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"200m","memory":"2Gi"}},"route":{"enabled":true,"tls":{"insecureEdgeTerminationPolicy":"Redirect","termination":"edge"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}},"service":{"type":"ClusterIP"},"solr":{"hostBind":"0.0.0.0","memory":"1g"},"tolerations":[],"topologySpreadConstraints":[]}` | OKP (Offline Knowledge Portal) configuration. Deploys an OKP instance for RHDH documentation retrieval when explicitly enabled. The image is large and can significantly increase initial installation time. | -| intelligentAssistant.okp.affinity | object | `{}` | Pod scheduling: affinity rules for the OKP pod. | -| intelligentAssistant.okp.enabled | bool | `false` | Enable OKP-backed RHDH documentation retrieval. Disabled by default on all platforms. | -| intelligentAssistant.okp.imagePullSecrets | list | `[]` | Image pull secrets for the OKP container image. Required on vanilla Kubernetes to authenticate with registry.redhat.io. Not needed on OpenShift where the cluster-wide pull secret covers Red Hat registries. | -| intelligentAssistant.okp.livenessProbe | object | `{"initialDelaySeconds":30,"periodSeconds":30}` | Liveness probe configuration for the OKP container. | -| intelligentAssistant.okp.nodeSelector | object | `{}` | Pod scheduling: node selector for the OKP pod. | -| intelligentAssistant.okp.readinessProbe | object | `{"initialDelaySeconds":10,"periodSeconds":10}` | Readiness probe configuration for the OKP container. | -| intelligentAssistant.okp.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | OKP container security context. readOnlyRootFilesystem is not set because Solr (Lucene) writes a lock file into its pre-built index directory at runtime. | -| intelligentAssistant.okp.tolerations | list | `[]` | Pod scheduling: tolerations for the OKP pod. | -| intelligentAssistant.okp.topologySpreadConstraints | list | `[]` | Pod scheduling: topology spread constraints for the OKP pod. | -| intelligentAssistant.plugins | list | `[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}]` | Intelligent Assistant dynamic plugin packages. | -| intelligentAssistant.runtimeVolume | object | `{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}` | Writable scratch volume for the sidecar (/tmp). | -| intelligentAssistant.runtimeVolume.type | string | `"emptyDir"` | Volume type: "emptyDir" or "persistentVolumeClaim". | -| lifecycleHooks | object | `{}` | Lifecycle hooks for the main RHDH container. Ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/ | -| livenessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":4}` | Liveness probe configuration. | -| metrics | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":"","labels":{},"path":"/metrics","port":"http-metrics"}}` | Prometheus metrics configuration. | -| nameOverride | string | `"developer-hub"` | Override the chart name used in resource naming. | -| nodeSelector | object | `{}` | Node labels for pod assignment. | -| openshift | object | `{"clusterRouterBase":"apps.example.com","route":{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","targetPort":"http-backend","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}}` | OpenShift-specific configuration. | -| openshift.clusterRouterBase | string | `"apps.example.com"` | Cluster router base domain used to auto-generate the hostname. | -| openshift.route | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","targetPort":"http-backend","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | OpenShift Route configuration. | -| orchestrator | object | `{"enabled":false,"plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator-backend"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator"}],"serverlessLogicOperator":{"enabled":true},"serverlessOperator":{"enabled":true},"sonataflowPlatform":{"dataIndex":{"image":{"digest":"","registry":"","repository":"","tag":""}},"dbCreationJob":{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null},"eventing":{"broker":{"name":"","namespace":""}},"externalDB":{"existingSecret":"","host":"","name":"","port":""},"jobService":{"image":{"digest":"","registry":"","repository":"","tag":""}},"monitoring":{"enabled":true},"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"64Mi"}}}}` | Orchestrator (Serverless workflows) configuration. | -| orchestrator.sonataflowPlatform.dataIndex | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | SonataFlow Data Index service configuration. | -| orchestrator.sonataflowPlatform.dataIndex.image | object | `{"digest":"","registry":"","repository":"","tag":""}` | Override the Data Index container image. If empty, the operator default is used. | -| orchestrator.sonataflowPlatform.dbCreationJob | object | `{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null}` | Database creation Job configuration. | -| orchestrator.sonataflowPlatform.dbCreationJob.image | object | `{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"}` | Container image for the create-db Job. | -| orchestrator.sonataflowPlatform.externalDB | object | `{"existingSecret":"","host":"","name":"","port":""}` | External database connection. Used when postgresql.enabled is false. | -| orchestrator.sonataflowPlatform.externalDB.existingSecret | string | `""` | Name of a Secret containing POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD keys. | -| orchestrator.sonataflowPlatform.externalDB.host | string | `""` | Database host (used in JDBC URLs). | -| orchestrator.sonataflowPlatform.externalDB.name | string | `""` | Database name to connect to for the CREATE DATABASE command. | -| orchestrator.sonataflowPlatform.externalDB.port | string | `""` | Database port (used in JDBC URLs). | -| orchestrator.sonataflowPlatform.jobService | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | SonataFlow Job Service configuration. | -| orchestrator.sonataflowPlatform.jobService.image | object | `{"digest":"","registry":"","repository":"","tag":""}` | Override the Job Service container image. If empty, the operator default is used. | -| podAnnotations | object | `{}` | Annotations to add to the pod. | -| podDisruptionBudget | object | `{"create":false,"maxUnavailable":1,"minAvailable":""}` | Pod Disruption Budget configuration. | -| podLabels | object | `{}` | Labels to add to the pod. | -| podSecurityContext | object | `{}` | Pod-level security context. | -| postgresql | object | `{"auth":{"secretKeys":{"adminPasswordKey":"postgres-password","userPasswordKey":"password"}},"enabled":true,"image":{"digest":"","registry":"quay.io","repository":"fedora/postgresql-18","tag":"latest"},"postgresqlDataDir":"/var/lib/pgsql/data/userdata","primary":{"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":false},"extraEnvVars":[{"name":"POSTGRESQL_ADMIN_PASSWORD","valueFrom":{"secretKeyRef":{"key":"{{- include \"rhdh.postgresql.adminPasswordKey\" . }}","name":"{{- include \"rhdh.postgresql.secretName\" . }}"}}}],"networkPolicy":{"enabled":false},"persistence":{"enabled":true,"mountPath":"/var/lib/pgsql/data","size":"1Gi"},"podSecurityContext":{"enabled":false},"resources":{"limits":{"cpu":"250m","ephemeral-storage":"20Mi","memory":"1024Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}},"readReplicas":{"networkPolicy":{"enabled":false}},"serviceBindings":{"enabled":true}}` | Built-in PostgreSQL database (bitnami subchart). | -| preInitContainers | list | `[]` | Init containers to run BEFORE the system init containers (e.g. inject auth credentials before install-dynamic-plugins runs). | -| priorityClassName | string | `""` | Priority class name for pod scheduling. Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ | -| readinessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/readiness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":2,"timeoutSeconds":4}` | Readiness probe configuration. | -| replicaCount | int | `1` | Number of desired pods. | -| resources | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"1Gi"}}` | Resource requests and limits for the main RHDH container. | -| revisionHistoryLimit | int | `10` | Number of old ReplicaSets to retain. | -| service | object | `{"annotations":{},"clusterIP":"","externalTrafficPolicy":"","extraPorts":[{"name":"http-metrics","port":9464,"targetPort":9464}],"ipFamilies":[],"ipFamilyPolicy":"","loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePort":"","port":7007,"sessionAffinity":"","type":"ClusterIP"}` | Service configuration. | -| service.extraPorts | list | `[{"name":"http-metrics","port":9464,"targetPort":9464}]` | Additional service ports. | -| service.ipFamilies | list | `[]` | IP families for dual-stack networking. | -| service.ipFamilyPolicy | string | `""` | IP family policy for dual-stack networking. | -| service.nodePort | string | `""` | Node port for NodePort/LoadBalancer service types (range 30000-32767). | -| serviceAccount | object | `{"annotations":{},"automount":true,"create":false,"labels":{},"name":""}` | ServiceAccount configuration. | -| serviceAccount.labels | object | `{}` | Additional labels for the ServiceAccount. | -| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. | -| startupProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":20,"successThreshold":1,"timeoutSeconds":4}` | Startup probe configuration. Gives the application time to start before liveness/readiness probes kick in. | -| strategy | object | `{}` | Deployment update strategy. | -| terminationGracePeriodSeconds | string | `nil` | Duration in seconds the pod needs to terminate gracefully before being force killed. Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination | -| test | object | `{"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"curl/curl","tag":"8.22.0"},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}}` | Test pod configuration for `helm test`. | -| tolerations | list | `[]` | Tolerations for pod assignment. | -| topologySpreadConstraints | list | `[]` | Topology spread constraints for pod scheduling. | -| workload | object | `{"kind":"Deployment","statefulSet":{"annotations":{},"extraVolumeClaimTemplates":[],"persistentVolumeClaimRetentionPolicy":{},"podManagementPolicy":"","serviceName":"","updateStrategy":{}}}` | Kubernetes workload controller for Backstage pod. | -| workload.kind | string | `"Deployment"` | Workload kind: Deployment (default) or StatefulSet. | -| workload.statefulSet.annotations | object | `{}` | Annotations on the StatefulSet resource. | -| workload.statefulSet.extraVolumeClaimTemplates | list | `[]` | Extra volumeClaimTemplates appended after the chart-managed dynamic-plugins-root claim (when type=statefulSetPVC). | -| workload.statefulSet.persistentVolumeClaimRetentionPolicy | object | `{}` | Optional PVC retention policy for the StatefulSet. | -| workload.statefulSet.podManagementPolicy | string | `""` | Pod management policy for the StatefulSet. | -| workload.statefulSet.serviceName | string | `""` | service name for the StatefulSet. Defaults to headless when empty. Service ({fullname}-headless) must match an existing service. | -| workload.statefulSet.updateStrategy | object | `{}` | StatefulSet update strategy. | +| Key | Description | Type | Default | +|-----|-------------|------|---------| +| affinity | Affinity rules for pod assignment. | object | `{}` | +| appConfig | Inline Backstage app-config YAML. Rendered into a ConfigMap and mounted as app-config-from-configmap.yaml. | object | Default config with base URLs, CORS, database connection, and backend auth. | +| argsOverride | Override the container arguments entirely. When set, system config arguments are NOT added automatically; you must include them yourself. | list | `[]` | +| auth | Service-to-service authentication configuration. | object | `{"backend":{"enabled":true,"existingSecretRef":{"key":"backend-secret","name":""},"value":""}}` | +| auth.backend.enabled | Enable backend service-to-service authentication. Generates a random secret unless existingSecretRef is set or value is provided. Disable if you inject the secret via extraEnvFrom or extraEnv instead. | bool | `true` | +| auth.backend.existingSecretRef | Reference an existing Secret instead of generating one. When not set, the chart auto-generates a random token. | object | `{"key":"backend-secret","name":""}` | +| auth.backend.existingSecretRef.key | Key within the Secret that holds the backend auth token. | string | `"backend-secret"` | +| auth.backend.existingSecretRef.name | Name of the existing Secret. When empty, the chart generates one. | string | `""` | +| auth.backend.value | Use a specific value instead of generating one. | string | `""` | +| autoscaling | Horizontal Pod Autoscaler configuration. | object | `{"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | +| catalogIndex | Catalog index configuration for automatic plugin discovery. | object | `{"extraImages":[],"image":{"digest":"","registry":"quay.io","repository":"rhdh/plugin-catalog-index","tag":"next"}}` | +| catalogIndex.extraImages | Extra catalog index images for additional plugin discovery in the Extensions UI. Each item must include `registry`, `repository`, and `tag` fields; `name` and `digest` are optional. Only catalog entities are extracted from extra images (no `dynamic-plugins.default.yaml` handling). | list | `[]` | +| commandOverride | Override the container command. | list | `[]` | +| commonAnnotations | Annotations applied to ALL chart resources. | object | `{}` | +| commonLabels | Labels applied to ALL chart resources. | object | `{}` | +| containerSecurityContext | Security context for the main RHDH container (not the Lightspeed Core sidecar or init containers). | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | +| deploymentAnnotations | Annotations for the Deployment resource (not the pod). | object | `{}` | +| dynamicPlugins | Dynamic plugin system configuration. | object | `{"includes":["dynamic-plugins.default.yaml"],"initContainer":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}},"maxEntrySize":40000000,"plugins":[],"volume":{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"}}` | +| dynamicPlugins.includes | Array of YAML files listing dynamic plugins to include. Relative paths are resolved from the working directory of the initContainer (`/opt/app-root/src`). | list | `["dynamic-plugins.default.yaml"]` | +| dynamicPlugins.initContainer | Configuration for the install-dynamic-plugins init container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}}` | +| dynamicPlugins.initContainer.argsOverride | Override the default arguments. Leave empty to use the defaults. | list | `[]` | +| dynamicPlugins.initContainer.commandOverride | Override the default command. Leave empty to use the default (./install-dynamic-plugins.sh /dynamic-plugins-root). | list | `[]` | +| dynamicPlugins.initContainer.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | +| dynamicPlugins.initContainer.extraEnv | Extra environment variables appended after the system env vars (NPM_CONFIG_USERCONFIG, MAX_ENTRY_SIZE, CATALOG_INDEX_IMAGE, etc.). | list | `[]` | +| dynamicPlugins.initContainer.extraVolumeMounts | Additional volume mounts appended after the system mounts (dynamic-plugins-root, npmrc, registry-auth, npmcacache, extensions-catalog, temp). | list | `[]` | +| dynamicPlugins.initContainer.resources | Resource requests and limits. | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | +| dynamicPlugins.initContainer.securityContext | Security context for the init container. | object | Same as containerSecurityContext | +| dynamicPlugins.maxEntrySize | Maximum uncompressed size (in bytes) of a single dynamic plugin entry. | int | `40000000` | +| dynamicPlugins.plugins | List of dynamic plugins. Every item defines the plugin `package` as a NPM package spec or OCI reference. | list | `[]` | +| dynamicPlugins.volume | Volume configuration for the dynamic plugins root directory. | object | `{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"}` | +| dynamicPlugins.volume.emptyDir | Raw Kubernetes emptyDir volume spec. Used when type is "emptyDir". | object | `{}` | +| dynamicPlugins.volume.ephemeral | Ephemeral volume configuration. Used when type is "ephemeral". The chart builds the full ephemeral.volumeClaimTemplate.spec from these fields. | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | +| dynamicPlugins.volume.ephemeral.accessModes | Access modes for the ephemeral PVC. | list | `["ReadWriteOnce"]` | +| dynamicPlugins.volume.ephemeral.resources | Resource requests for the ephemeral PVC. | object | `{"requests":{"storage":"5Gi"}}` | +| dynamicPlugins.volume.ephemeral.storageClassName | StorageClass for the ephemeral volume. When empty, uses global.defaultStorageClass or the cluster default. | string | `""` | +| dynamicPlugins.volume.pvc | Raw Kubernetes persistentVolumeClaim volume spec. Used when type is "pvc". | object | `{"claimName":""}` | +| dynamicPlugins.volume.statefulSetPVC | StatefulSet-owned PVC volume spec. Used when type is "statefulSetPVC". | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | +| dynamicPlugins.volume.statefulSetPVC.accessModes | Access modes for the StatefulSet-owned PVC. | list | `["ReadWriteOnce"]` | +| dynamicPlugins.volume.statefulSetPVC.resources | Resource requests for the StatefulSet-owned PVC. | object | `{"requests":{"storage":"5Gi"}}` | +| dynamicPlugins.volume.statefulSetPVC.storageClassName | StorageClass. When empty, uses global.defaultStorageClass or the cluster default. | string | `""` | +| dynamicPlugins.volume.type | Volume type: "ephemeral" (auto-provisioned PVC per pod), "emptyDir" (scratch space, lost on pod restart), "pvc" (pre-existing PersistentVolumeClaim), or "statefulSetPVC" (StatefulSet volumeClaimTemplate; requires workload.kind=StatefulSet). | string | `"ephemeral"` | +| envFromOverride | Override the container envFrom entirely. When set, extraEnvFrom is ignored. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | list | `[]` | +| envOverride | Override the container environment variables entirely. When set, system env vars (BACKEND_SECRET, DB credentials, etc.) are NOT added automatically. | list | `[]` | +| externalDatabase | External database connection. Used when postgresql.enabled is false. See docs/external-db.md for TLS setup and privilege requirements. When both postgresql.enabled and externalDatabase.host are false/empty, the chart renders no database env vars (BYO configuration via extraEnv or appConfig). | object | `{"existingSecretRef":{"key":"password","name":""},"host":"","port":5432,"user":"postgres"}` | +| externalDatabase.existingSecretRef | Reference to an existing Secret containing the database password. | object | `{"key":"password","name":""}` | +| externalDatabase.existingSecretRef.key | Key within the Secret that holds the password. | string | `"password"` | +| externalDatabase.existingSecretRef.name | Name of the existing Secret. | string | `""` | +| externalDatabase.host | External database hostname. | string | `""` | +| externalDatabase.port | External database port. | int | `5432` | +| externalDatabase.user | External database user. | string | `"postgres"` | +| extraAppConfig | Additional app-config files from existing ConfigMaps. | list | `[]` | +| extraArgs | Extra arguments appended after the system config flags. | list | `[]` | +| extraContainers | Additional sidecar containers. These are ADDED to system containers (e.g. Lightspeed Core sidecar), never replacing them. | list | `[]` | +| extraDeploy | Array of extra objects to deploy with the release (rendered through `tpl`). Each element is a complete Kubernetes manifest; Helm template expressions are supported. | list | `[]` | +| extraEnv | Extra environment variables appended after the system env vars. | list | `[]` | +| extraEnvFrom | Extra envFrom entries appended to the container. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | list | `[]` | +| extraInitContainers | Additional init containers. These are ADDED after system init containers (install-dynamic-plugins), never replacing them. | list | `[]` | +| extraVolumeMounts | Additional volume mounts to add to the main container. These are ADDED to system-required mounts, never replacing them. | list | `[]` | +| extraVolumes | Additional volumes to add to the pod. These are ADDED to system-required volumes (dynamic-plugins-root, temp, npmcacache, etc.), never replacing them. | list | `[]` | +| fullnameOverride | Override the full resource name. | string | `""` | +| global | Global parameters shared with bitnami subcharts (postgresql, common). | object | `{"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":""}` | +| global.defaultStorageClass | Global default StorageClass for PVCs. | string | `""` | +| global.imagePullSecrets | Global Docker registry secret names. | list | `[]` | +| global.imageRegistry | Global Docker image registry. Overrides per-image registries for all containers. | string | `""` | +| host | Custom hostname. Overrides openshift.clusterRouterBase for URL generation. | string | `""` | +| hostAliases | Host aliases for /etc/hosts entries. | list | `[]` | +| httpRoute | Gateway API HTTPRoute configuration. | object | `{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[],"rules":[]}` | +| httpRoute.labels | Additional labels for the HTTPRoute resource. | object | `{}` | +| image | Container image configuration. | object | `{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"rhdh-community/rhdh","tag":"next"}` | +| image.digest | Overrides the image tag with an image digest. | string | `""` | +| imagePullSecrets | Secrets for pulling images from private registries (merged with global.imagePullSecrets). | list | `[]` | +| ingress | Kubernetes Ingress configuration. | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"{{ .Values.host }}","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | +| intelligentAssistant | Built-in Intelligent Assistant feature configuration. | object | `{"config":{"profile":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}},"core":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.7.0rc3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"enabled":true,"existingSecret":"","okp":{"affinity":{},"enabled":false,"httpd":{"compressed":"true","encrypt":"false","serverName":"localhost"},"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"registry.redhat.io","repository":"offline-knowledge-portal/rhokp-rhel9","tag":"1.2.12-1788274041"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":true,"host":"","tls":{"enabled":false,"secretName":""}},"livenessProbe":{"initialDelaySeconds":30,"periodSeconds":30},"nodeSelector":{},"readinessProbe":{"initialDelaySeconds":10,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"200m","memory":"2Gi"}},"route":{"enabled":true,"tls":{"insecureEdgeTerminationPolicy":"Redirect","termination":"edge"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}},"service":{"type":"ClusterIP"},"solr":{"hostBind":"0.0.0.0","memory":"1g"},"tolerations":[],"topologySpreadConstraints":[]},"plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}],"runtimeVolume":{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}}` | +| intelligentAssistant.config | Configuration files mounted into the sidecar. By default, the chart creates ConfigMaps from bundled source files. Set existingConfigMap to use a pre-existing ConfigMap instead. | object | `{"profile":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}}` | +| intelligentAssistant.config.profile | Python profile with prompt templates (rhdh-profile.py). | object | `{"existingConfigMap":{"key":"","name":""}}` | +| intelligentAssistant.config.profile.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled rhdh-profile.py | +| intelligentAssistant.config.profile.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (rhdh-profile.py) if not set. | string | `""` | +| intelligentAssistant.config.profile.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | +| intelligentAssistant.config.stack | Lightspeed Core service configuration (lightspeed-stack.yaml). | object | `{"existingConfigMap":{"key":"","name":""}}` | +| intelligentAssistant.config.stack.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled lightspeed-stack.yaml | +| intelligentAssistant.config.stack.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (lightspeed-stack.yaml) if not set. | string | `""` | +| intelligentAssistant.config.stack.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | +| intelligentAssistant.core | Lightspeed Core sidecar container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.7.0rc3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | +| intelligentAssistant.core.argsOverride | Override the container's default args. Leave empty to use the chart defaults. | list | `[]` | +| intelligentAssistant.core.commandOverride | Override the container's default command. Leave empty to use the image entrypoint. | list | `[]` | +| intelligentAssistant.core.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | +| intelligentAssistant.existingSecret | Name of an existing Secret that supplies credentials and settings to the lightspeed-core container. Configure the provider itself in lightspeed-stack.yaml. If empty, no Secret is loaded. Expected keys (all optional; include only keys used by the configured provider): VLLM_URL, VLLM_API_KEY, VLLM_MAX_TOKENS, VLLM_TLS_VERIFY, OPENAI_API_KEY, VERTEX_AI_PROJECT, VERTEX_AI_LOCATION, GOOGLE_APPLICATION_CREDENTIALS, ENABLE_VALIDATION, VALIDATION_PROVIDER, VALIDATION_MODEL_NAME Set ENABLE_VALIDATION to question_validity to enable validation. GOOGLE_APPLICATION_CREDENTIALS must be a path to a credentials file mounted in the sidecar. See files/intelligent-assistant/secret.example.yaml for a reference template. | string | `""` | +| intelligentAssistant.okp | OKP (Offline Knowledge Portal) configuration. Deploys an OKP instance for RHDH documentation retrieval when explicitly enabled. The image is large and can significantly increase initial installation time. | object | `{"affinity":{},"enabled":false,"httpd":{"compressed":"true","encrypt":"false","serverName":"localhost"},"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"registry.redhat.io","repository":"offline-knowledge-portal/rhokp-rhel9","tag":"1.2.12-1788274041"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":true,"host":"","tls":{"enabled":false,"secretName":""}},"livenessProbe":{"initialDelaySeconds":30,"periodSeconds":30},"nodeSelector":{},"readinessProbe":{"initialDelaySeconds":10,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"200m","memory":"2Gi"}},"route":{"enabled":true,"tls":{"insecureEdgeTerminationPolicy":"Redirect","termination":"edge"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}},"service":{"type":"ClusterIP"},"solr":{"hostBind":"0.0.0.0","memory":"1g"},"tolerations":[],"topologySpreadConstraints":[]}` | +| intelligentAssistant.okp.affinity | Pod scheduling: affinity rules for the OKP pod. | object | `{}` | +| intelligentAssistant.okp.enabled | Enable OKP-backed RHDH documentation retrieval. Disabled by default on all platforms. | bool | `false` | +| intelligentAssistant.okp.imagePullSecrets | Image pull secrets for the OKP container image. Required on vanilla Kubernetes to authenticate with registry.redhat.io. Not needed on OpenShift where the cluster-wide pull secret covers Red Hat registries. | list | `[]` | +| intelligentAssistant.okp.livenessProbe | Liveness probe configuration for the OKP container. | object | `{"initialDelaySeconds":30,"periodSeconds":30}` | +| intelligentAssistant.okp.nodeSelector | Pod scheduling: node selector for the OKP pod. | object | `{}` | +| intelligentAssistant.okp.readinessProbe | Readiness probe configuration for the OKP container. | object | `{"initialDelaySeconds":10,"periodSeconds":10}` | +| intelligentAssistant.okp.securityContext | OKP container security context. readOnlyRootFilesystem is not set because Solr (Lucene) writes a lock file into its pre-built index directory at runtime. | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | +| intelligentAssistant.okp.tolerations | Pod scheduling: tolerations for the OKP pod. | list | `[]` | +| intelligentAssistant.okp.topologySpreadConstraints | Pod scheduling: topology spread constraints for the OKP pod. | list | `[]` | +| intelligentAssistant.plugins | Intelligent Assistant dynamic plugin packages. | list | `[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}]` | +| intelligentAssistant.runtimeVolume | Writable scratch volume for the sidecar (/tmp). | object | `{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}` | +| intelligentAssistant.runtimeVolume.type | Volume type: "emptyDir" or "persistentVolumeClaim". | string | `"emptyDir"` | +| lifecycleHooks | Lifecycle hooks for the main RHDH container. Ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/ | object | `{}` | +| livenessProbe | Liveness probe configuration. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":4}` | +| metrics | Prometheus metrics configuration. | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":"","labels":{},"path":"/metrics","port":"http-metrics"}}` | +| nameOverride | Override the chart name used in resource naming. | string | `"developer-hub"` | +| nodeSelector | Node labels for pod assignment. | object | `{}` | +| openshift | OpenShift-specific configuration. | object | `{"clusterRouterBase":"apps.example.com","route":{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","targetPort":"http-backend","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}}` | +| openshift.clusterRouterBase | Cluster router base domain used to auto-generate the hostname. | string | `"apps.example.com"` | +| openshift.route | OpenShift Route configuration. | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","targetPort":"http-backend","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | +| orchestrator | Orchestrator (Serverless workflows) configuration. | object | `{"enabled":false,"plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator-backend"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator"}],"serverlessLogicOperator":{"enabled":true},"serverlessOperator":{"enabled":true},"sonataflowPlatform":{"dataIndex":{"image":{"digest":"","registry":"","repository":"","tag":""}},"dbCreationJob":{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null},"eventing":{"broker":{"name":"","namespace":""}},"externalDB":{"existingSecret":"","host":"","name":"","port":""},"jobService":{"image":{"digest":"","registry":"","repository":"","tag":""}},"monitoring":{"enabled":true},"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"64Mi"}}}}` | +| orchestrator.sonataflowPlatform.dataIndex | SonataFlow Data Index service configuration. | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | +| orchestrator.sonataflowPlatform.dataIndex.image | Override the Data Index container image. If empty, the operator default is used. | object | `{"digest":"","registry":"","repository":"","tag":""}` | +| orchestrator.sonataflowPlatform.dbCreationJob | Database creation Job configuration. | object | `{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null}` | +| orchestrator.sonataflowPlatform.dbCreationJob.image | Container image for the create-db Job. | object | `{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"}` | +| orchestrator.sonataflowPlatform.externalDB | External database connection. Used when postgresql.enabled is false. | object | `{"existingSecret":"","host":"","name":"","port":""}` | +| orchestrator.sonataflowPlatform.externalDB.existingSecret | Name of a Secret containing POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD keys. | string | `""` | +| orchestrator.sonataflowPlatform.externalDB.host | Database host (used in JDBC URLs). | string | `""` | +| orchestrator.sonataflowPlatform.externalDB.name | Database name to connect to for the CREATE DATABASE command. | string | `""` | +| orchestrator.sonataflowPlatform.externalDB.port | Database port (used in JDBC URLs). | string | `""` | +| orchestrator.sonataflowPlatform.jobService | SonataFlow Job Service configuration. | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | +| orchestrator.sonataflowPlatform.jobService.image | Override the Job Service container image. If empty, the operator default is used. | object | `{"digest":"","registry":"","repository":"","tag":""}` | +| podAnnotations | Annotations to add to the pod. | object | `{}` | +| podDisruptionBudget | Pod Disruption Budget configuration. | object | `{"create":false,"maxUnavailable":1,"minAvailable":""}` | +| podLabels | Labels to add to the pod. | object | `{}` | +| podSecurityContext | Pod-level security context. | object | `{}` | +| postgresql | Built-in PostgreSQL database (bitnami subchart). | object | `{"auth":{"secretKeys":{"adminPasswordKey":"postgres-password","userPasswordKey":"password"}},"enabled":true,"image":{"digest":"","registry":"quay.io","repository":"fedora/postgresql-18","tag":"latest"},"postgresqlDataDir":"/var/lib/pgsql/data/userdata","primary":{"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":false},"extraEnvVars":[{"name":"POSTGRESQL_ADMIN_PASSWORD","valueFrom":{"secretKeyRef":{"key":"{{- include \"rhdh.postgresql.adminPasswordKey\" . }}","name":"{{- include \"rhdh.postgresql.secretName\" . }}"}}}],"networkPolicy":{"enabled":false},"persistence":{"enabled":true,"mountPath":"/var/lib/pgsql/data","size":"1Gi"},"podSecurityContext":{"enabled":false},"resources":{"limits":{"cpu":"250m","ephemeral-storage":"20Mi","memory":"1024Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}},"readReplicas":{"networkPolicy":{"enabled":false}},"serviceBindings":{"enabled":true}}` | +| preInitContainers | Init containers to run BEFORE the system init containers (e.g. inject auth credentials before install-dynamic-plugins runs). | list | `[]` | +| priorityClassName | Priority class name for pod scheduling. Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ | string | `""` | +| readinessProbe | Readiness probe configuration. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/readiness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":2,"timeoutSeconds":4}` | +| replicaCount | Number of desired pods. | int | `1` | +| resources | Resource requests and limits for the main RHDH container. | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"1Gi"}}` | +| revisionHistoryLimit | Number of old ReplicaSets to retain. | int | `10` | +| service | Service configuration. | object | `{"annotations":{},"clusterIP":"","externalTrafficPolicy":"","extraPorts":[{"name":"http-metrics","port":9464,"targetPort":9464}],"ipFamilies":[],"ipFamilyPolicy":"","loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePort":"","port":7007,"sessionAffinity":"","type":"ClusterIP"}` | +| service.extraPorts | Additional service ports. | list | `[{"name":"http-metrics","port":9464,"targetPort":9464}]` | +| service.ipFamilies | IP families for dual-stack networking. | list | `[]` | +| service.ipFamilyPolicy | IP family policy for dual-stack networking. | string | `""` | +| service.nodePort | Node port for NodePort/LoadBalancer service types (range 30000-32767). | string | `""` | +| serviceAccount | ServiceAccount configuration. | object | `{"annotations":{},"automount":true,"create":false,"labels":{},"name":""}` | +| serviceAccount.labels | Additional labels for the ServiceAccount. | object | `{}` | +| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. | string | `""` | +| startupProbe | Startup probe configuration. Gives the application time to start before liveness/readiness probes kick in. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":20,"successThreshold":1,"timeoutSeconds":4}` | +| strategy | Deployment update strategy. | object | `{}` | +| terminationGracePeriodSeconds | Duration in seconds the pod needs to terminate gracefully before being force killed. Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination | string | `nil` | +| test | Test pod configuration for `helm test`. | object | `{"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"curl/curl","tag":"8.22.0"},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}}` | +| tolerations | Tolerations for pod assignment. | list | `[]` | +| topologySpreadConstraints | Topology spread constraints for pod scheduling. | list | `[]` | +| workload | Kubernetes workload controller for Backstage pod. | object | `{"kind":"Deployment","statefulSet":{"annotations":{},"extraVolumeClaimTemplates":[],"persistentVolumeClaimRetentionPolicy":{},"podManagementPolicy":"","serviceName":"","updateStrategy":{}}}` | +| workload.kind | Workload kind: Deployment (default) or StatefulSet. | string | `"Deployment"` | +| workload.statefulSet.annotations | Annotations on the StatefulSet resource. | object | `{}` | +| workload.statefulSet.extraVolumeClaimTemplates | Extra volumeClaimTemplates appended after the chart-managed dynamic-plugins-root claim (when type=statefulSetPVC). | list | `[]` | +| workload.statefulSet.persistentVolumeClaimRetentionPolicy | Optional PVC retention policy for the StatefulSet. | object | `{}` | +| workload.statefulSet.podManagementPolicy | Pod management policy for the StatefulSet. | string | `""` | +| workload.statefulSet.serviceName | service name for the StatefulSet. Defaults to headless when empty. Service ({fullname}-headless) must match an existing service. | string | `""` | +| workload.statefulSet.updateStrategy | StatefulSet update strategy. | object | `{}` | ## Opinionated RHDH deployment From f6d7264d6c557c62ec9759bd769f04cc839c24ee Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 11:30:58 +0200 Subject: [PATCH 16/20] run pre-commit hooks --- charts/rhdh/README.md | 311 +++++++++++++++++++++--------------------- 1 file changed, 156 insertions(+), 155 deletions(-) diff --git a/charts/rhdh/README.md b/charts/rhdh/README.md index 9cf1c8612..3b2278fee 100644 --- a/charts/rhdh/README.md +++ b/charts/rhdh/README.md @@ -1,3 +1,4 @@ + # RHDH Helm Chart for OpenShift and Kubernetes ![Version: 3.5.1](https://img.shields.io/badge/Version-3.5.1-informational?style=flat-square) @@ -173,161 +174,161 @@ Kubernetes: `>= 1.31.0-0` ## Values -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| affinity | object | `{}` | Affinity rules for pod assignment. | -| appConfig | object | Default config with base URLs, CORS, database connection, and backend auth. | Inline Backstage app-config YAML. Rendered into a ConfigMap and mounted as app-config-from-configmap.yaml. | -| argsOverride | list | `[]` | Override the container arguments entirely. When set, system config arguments are NOT added automatically; you must include them yourself. | -| auth | object | `{"backend":{"enabled":true,"existingSecretRef":{"key":"backend-secret","name":""},"value":""}}` | Service-to-service authentication configuration. | -| auth.backend.enabled | bool | `true` | Enable backend service-to-service authentication. Generates a random secret unless existingSecretRef is set or value is provided. Disable if you inject the secret via extraEnvFrom or extraEnv instead. | -| auth.backend.existingSecretRef | object | `{"key":"backend-secret","name":""}` | Reference an existing Secret instead of generating one. When not set, the chart auto-generates a random token. | -| auth.backend.existingSecretRef.key | string | `"backend-secret"` | Key within the Secret that holds the backend auth token. | -| auth.backend.existingSecretRef.name | string | `""` | Name of the existing Secret. When empty, the chart generates one. | -| auth.backend.value | string | `""` | Use a specific value instead of generating one. | -| autoscaling | object | `{"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | Horizontal Pod Autoscaler configuration. | -| catalogIndex | object | `{"extraImages":[],"image":{"digest":"","registry":"quay.io","repository":"rhdh/plugin-catalog-index","tag":"next"}}` | Catalog index configuration for automatic plugin discovery. | -| catalogIndex.extraImages | list | `[]` | Extra catalog index images for additional plugin discovery in the Extensions UI. Each item must include `registry`, `repository`, and `tag` fields; `name` and `digest` are optional. Only catalog entities are extracted from extra images (no `dynamic-plugins.default.yaml` handling). | -| commandOverride | list | `[]` | Override the container command. | -| commonAnnotations | object | `{}` | Annotations applied to ALL chart resources. | -| commonLabels | object | `{}` | Labels applied to ALL chart resources. | -| containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | Security context for the main RHDH container (not the Lightspeed Core sidecar or init containers). | -| deploymentAnnotations | object | `{}` | Annotations for the Deployment resource (not the pod). | -| dynamicPlugins | object | `{"includes":["dynamic-plugins.default.yaml"],"initContainer":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}},"maxEntrySize":40000000,"plugins":[],"volume":{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"}}` | Dynamic plugin system configuration. | -| dynamicPlugins.includes | list | `["dynamic-plugins.default.yaml"]` | Array of YAML files listing dynamic plugins to include. Relative paths are resolved from the working directory of the initContainer (`/opt/app-root/src`). | -| dynamicPlugins.initContainer | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}}` | Configuration for the install-dynamic-plugins init container. | -| dynamicPlugins.initContainer.argsOverride | list | `[]` | Override the default arguments. Leave empty to use the defaults. | -| dynamicPlugins.initContainer.commandOverride | list | `[]` | Override the default command. Leave empty to use the default (./install-dynamic-plugins.sh /dynamic-plugins-root). | -| dynamicPlugins.initContainer.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | -| dynamicPlugins.initContainer.extraEnv | list | `[]` | Extra environment variables appended after the system env vars (NPM_CONFIG_USERCONFIG, MAX_ENTRY_SIZE, CATALOG_INDEX_IMAGE, etc.). | -| dynamicPlugins.initContainer.extraVolumeMounts | list | `[]` | Additional volume mounts appended after the system mounts (dynamic-plugins-root, npmrc, registry-auth, npmcacache, extensions-catalog, temp). | -| dynamicPlugins.initContainer.resources | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | Resource requests and limits. | -| dynamicPlugins.initContainer.securityContext | object | Same as containerSecurityContext | Security context for the init container. | -| dynamicPlugins.maxEntrySize | int | `40000000` | Maximum uncompressed size (in bytes) of a single dynamic plugin entry. | -| dynamicPlugins.plugins | list | `[]` | List of dynamic plugins. Every item defines the plugin `package` as a NPM package spec or OCI reference. | -| dynamicPlugins.volume | object | `{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"}` | Volume configuration for the dynamic plugins root directory. | -| dynamicPlugins.volume.emptyDir | object | `{}` | Raw Kubernetes emptyDir volume spec. Used when type is "emptyDir". | -| dynamicPlugins.volume.ephemeral | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | Ephemeral volume configuration. Used when type is "ephemeral". The chart builds the full ephemeral.volumeClaimTemplate.spec from these fields. | -| dynamicPlugins.volume.ephemeral.accessModes | list | `["ReadWriteOnce"]` | Access modes for the ephemeral PVC. | -| dynamicPlugins.volume.ephemeral.resources | object | `{"requests":{"storage":"5Gi"}}` | Resource requests for the ephemeral PVC. | -| dynamicPlugins.volume.ephemeral.storageClassName | string | `""` | StorageClass for the ephemeral volume. When empty, uses global.defaultStorageClass or the cluster default. | -| dynamicPlugins.volume.pvc | object | `{"claimName":""}` | Raw Kubernetes persistentVolumeClaim volume spec. Used when type is "pvc". | -| dynamicPlugins.volume.statefulSetPVC | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | StatefulSet-owned PVC volume spec. Used when type is "statefulSetPVC". | -| dynamicPlugins.volume.statefulSetPVC.accessModes | list | `["ReadWriteOnce"]` | Access modes for the StatefulSet-owned PVC. | -| dynamicPlugins.volume.statefulSetPVC.resources | object | `{"requests":{"storage":"5Gi"}}` | Resource requests for the StatefulSet-owned PVC. | -| dynamicPlugins.volume.statefulSetPVC.storageClassName | string | `""` | StorageClass. When empty, uses global.defaultStorageClass or the cluster default. | -| dynamicPlugins.volume.type | string | `"ephemeral"` | Volume type: "ephemeral" (auto-provisioned PVC per pod), "emptyDir" (scratch space, lost on pod restart), "pvc" (pre-existing PersistentVolumeClaim), or "statefulSetPVC" (StatefulSet volumeClaimTemplate; requires workload.kind=StatefulSet). | -| envFromOverride | list | `[]` | Override the container envFrom entirely. When set, extraEnvFrom is ignored. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | -| envOverride | list | `[]` | Override the container environment variables entirely. When set, system env vars (BACKEND_SECRET, DB credentials, etc.) are NOT added automatically. | -| externalDatabase | object | `{"existingSecretRef":{"key":"password","name":""},"host":"","port":5432,"user":"postgres"}` | External database connection. Used when postgresql.enabled is false. See docs/external-db.md for TLS setup and privilege requirements. When both postgresql.enabled and externalDatabase.host are false/empty, the chart renders no database env vars (BYO configuration via extraEnv or appConfig). | -| externalDatabase.existingSecretRef | object | `{"key":"password","name":""}` | Reference to an existing Secret containing the database password. | -| externalDatabase.existingSecretRef.key | string | `"password"` | Key within the Secret that holds the password. | -| externalDatabase.existingSecretRef.name | string | `""` | Name of the existing Secret. | -| externalDatabase.host | string | `""` | External database hostname. | -| externalDatabase.port | int | `5432` | External database port. | -| externalDatabase.user | string | `"postgres"` | External database user. | -| extraAppConfig | list | `[]` | Additional app-config files from existing ConfigMaps. | -| extraArgs | list | `[]` | Extra arguments appended after the system config flags. | -| extraContainers | list | `[]` | Additional sidecar containers. These are ADDED to system containers (e.g. Lightspeed Core sidecar), never replacing them. | -| extraDeploy | list | `[]` | Array of extra objects to deploy with the release (rendered through `tpl`). Each element is a complete Kubernetes manifest; Helm template expressions are supported. | -| extraEnv | list | `[]` | Extra environment variables appended after the system env vars. | -| extraEnvFrom | list | `[]` | Extra envFrom entries appended to the container. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | -| extraInitContainers | list | `[]` | Additional init containers. These are ADDED after system init containers (install-dynamic-plugins), never replacing them. | -| extraVolumeMounts | list | `[]` | Additional volume mounts to add to the main container. These are ADDED to system-required mounts, never replacing them. | -| extraVolumes | list | `[]` | Additional volumes to add to the pod. These are ADDED to system-required volumes (dynamic-plugins-root, temp, npmcacache, etc.), never replacing them. | -| fullnameOverride | string | `""` | Override the full resource name. | -| global | object | `{"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":""}` | Global parameters shared with bitnami subcharts (postgresql, common). | -| global.defaultStorageClass | string | `""` | Global default StorageClass for PVCs. | -| global.imagePullSecrets | list | `[]` | Global Docker registry secret names. | -| global.imageRegistry | string | `""` | Global Docker image registry. Overrides per-image registries for all containers. | -| host | string | `""` | Custom hostname. Overrides openshift.clusterRouterBase for URL generation. | -| hostAliases | list | `[]` | Host aliases for /etc/hosts entries. | -| httpRoute | object | `{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[],"rules":[]}` | Gateway API HTTPRoute configuration. | -| httpRoute.labels | object | `{}` | Additional labels for the HTTPRoute resource. | -| image | object | `{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"rhdh-community/rhdh","tag":"next"}` | Container image configuration. | -| image.digest | string | `""` | Overrides the image tag with an image digest. | -| imagePullSecrets | list | `[]` | Secrets for pulling images from private registries (merged with global.imagePullSecrets). | -| ingress | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"{{ .Values.host }}","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | Kubernetes Ingress configuration. | -| intelligentAssistant | object | `{"config":{"profile":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}},"core":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.7.0rc3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"enabled":true,"existingSecret":"","okp":{"affinity":{},"enabled":false,"httpd":{"compressed":"true","encrypt":"false","serverName":"localhost"},"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"registry.redhat.io","repository":"offline-knowledge-portal/rhokp-rhel9","tag":"1.2.12-1788274041"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":true,"host":"","tls":{"enabled":false,"secretName":""}},"livenessProbe":{"initialDelaySeconds":30,"periodSeconds":30},"nodeSelector":{},"readinessProbe":{"initialDelaySeconds":10,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"200m","memory":"2Gi"}},"route":{"enabled":true,"tls":{"insecureEdgeTerminationPolicy":"Redirect","termination":"edge"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}},"service":{"type":"ClusterIP"},"solr":{"hostBind":"0.0.0.0","memory":"1g"},"tolerations":[],"topologySpreadConstraints":[]},"plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}],"runtimeVolume":{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}}` | Built-in Intelligent Assistant feature configuration. | -| intelligentAssistant.config | object | `{"profile":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}}` | Configuration files mounted into the sidecar. By default, the chart creates ConfigMaps from bundled source files. Set existingConfigMap to use a pre-existing ConfigMap instead. | -| intelligentAssistant.config.profile | object | `{"existingConfigMap":{"key":"","name":""}}` | Python profile with prompt templates (rhdh-profile.py). | -| intelligentAssistant.config.profile.existingConfigMap | object | Created from bundled rhdh-profile.py | Use an existing ConfigMap instead of the bundled default. | -| intelligentAssistant.config.profile.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (rhdh-profile.py) if not set. | -| intelligentAssistant.config.profile.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | -| intelligentAssistant.config.stack | object | `{"existingConfigMap":{"key":"","name":""}}` | Lightspeed Core service configuration (lightspeed-stack.yaml). | -| intelligentAssistant.config.stack.existingConfigMap | object | Created from bundled lightspeed-stack.yaml | Use an existing ConfigMap instead of the bundled default. | -| intelligentAssistant.config.stack.existingConfigMap.key | string | `""` | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (lightspeed-stack.yaml) if not set. | -| intelligentAssistant.config.stack.existingConfigMap.name | string | `""` | Name of the existing ConfigMap. | -| intelligentAssistant.core | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.7.0rc3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | Lightspeed Core sidecar container. | -| intelligentAssistant.core.argsOverride | list | `[]` | Override the container's default args. Leave empty to use the chart defaults. | -| intelligentAssistant.core.commandOverride | list | `[]` | Override the container's default command. Leave empty to use the image entrypoint. | -| intelligentAssistant.core.extraArgs | list | `[]` | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | -| intelligentAssistant.existingSecret | string | `""` | Name of an existing Secret that supplies credentials and settings to the lightspeed-core container. Configure the provider itself in lightspeed-stack.yaml. If empty, no Secret is loaded. Expected keys (all optional; include only keys used by the configured provider): VLLM_URL, VLLM_API_KEY, VLLM_MAX_TOKENS, VLLM_TLS_VERIFY, OPENAI_API_KEY, VERTEX_AI_PROJECT, VERTEX_AI_LOCATION, GOOGLE_APPLICATION_CREDENTIALS, ENABLE_VALIDATION, VALIDATION_PROVIDER, VALIDATION_MODEL_NAME Set ENABLE_VALIDATION to question_validity to enable validation. GOOGLE_APPLICATION_CREDENTIALS must be a path to a credentials file mounted in the sidecar. See files/intelligent-assistant/secret.example.yaml for a reference template. | -| intelligentAssistant.okp | object | `{"affinity":{},"enabled":false,"httpd":{"compressed":"true","encrypt":"false","serverName":"localhost"},"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"registry.redhat.io","repository":"offline-knowledge-portal/rhokp-rhel9","tag":"1.2.12-1788274041"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":true,"host":"","tls":{"enabled":false,"secretName":""}},"livenessProbe":{"initialDelaySeconds":30,"periodSeconds":30},"nodeSelector":{},"readinessProbe":{"initialDelaySeconds":10,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"200m","memory":"2Gi"}},"route":{"enabled":true,"tls":{"insecureEdgeTerminationPolicy":"Redirect","termination":"edge"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}},"service":{"type":"ClusterIP"},"solr":{"hostBind":"0.0.0.0","memory":"1g"},"tolerations":[],"topologySpreadConstraints":[]}` | OKP (Offline Knowledge Portal) configuration. Deploys an OKP instance for RHDH documentation retrieval when explicitly enabled. The image is large and can significantly increase initial installation time. | -| intelligentAssistant.okp.affinity | object | `{}` | Pod scheduling: affinity rules for the OKP pod. | -| intelligentAssistant.okp.enabled | bool | `false` | Enable OKP-backed RHDH documentation retrieval. Disabled by default on all platforms. | -| intelligentAssistant.okp.imagePullSecrets | list | `[]` | Image pull secrets for the OKP container image. Required on vanilla Kubernetes to authenticate with registry.redhat.io. Not needed on OpenShift where the cluster-wide pull secret covers Red Hat registries. | -| intelligentAssistant.okp.livenessProbe | object | `{"initialDelaySeconds":30,"periodSeconds":30}` | Liveness probe configuration for the OKP container. | -| intelligentAssistant.okp.nodeSelector | object | `{}` | Pod scheduling: node selector for the OKP pod. | -| intelligentAssistant.okp.readinessProbe | object | `{"initialDelaySeconds":10,"periodSeconds":10}` | Readiness probe configuration for the OKP container. | -| intelligentAssistant.okp.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | OKP container security context. readOnlyRootFilesystem is not set because Solr (Lucene) writes a lock file into its pre-built index directory at runtime. | -| intelligentAssistant.okp.tolerations | list | `[]` | Pod scheduling: tolerations for the OKP pod. | -| intelligentAssistant.okp.topologySpreadConstraints | list | `[]` | Pod scheduling: topology spread constraints for the OKP pod. | -| intelligentAssistant.plugins | list | `[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}]` | Intelligent Assistant dynamic plugin packages. | -| intelligentAssistant.runtimeVolume | object | `{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}` | Writable scratch volume for the sidecar (/tmp). | -| intelligentAssistant.runtimeVolume.type | string | `"emptyDir"` | Volume type: "emptyDir" or "persistentVolumeClaim". | -| lifecycleHooks | object | `{}` | Lifecycle hooks for the main RHDH container. Ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/ | -| livenessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":4}` | Liveness probe configuration. | -| metrics | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":"","labels":{},"path":"/metrics","port":"http-metrics"}}` | Prometheus metrics configuration. | -| nameOverride | string | `"developer-hub"` | Override the chart name used in resource naming. | -| nodeSelector | object | `{}` | Node labels for pod assignment. | -| openshift | object | `{"clusterRouterBase":"apps.example.com","route":{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","targetPort":"http-backend","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}}` | OpenShift-specific configuration. | -| openshift.clusterRouterBase | string | `"apps.example.com"` | Cluster router base domain used to auto-generate the hostname. | -| openshift.route | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","targetPort":"http-backend","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | OpenShift Route configuration. | -| orchestrator | object | `{"enabled":false,"plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator-backend"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator"}],"serverlessLogicOperator":{"enabled":true},"serverlessOperator":{"enabled":true},"sonataflowPlatform":{"dataIndex":{"image":{"digest":"","registry":"","repository":"","tag":""}},"dbCreationJob":{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null},"eventing":{"broker":{"name":"","namespace":""}},"externalDB":{"existingSecret":"","host":"","name":"","port":""},"jobService":{"image":{"digest":"","registry":"","repository":"","tag":""}},"monitoring":{"enabled":true},"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"64Mi"}}}}` | Orchestrator (Serverless workflows) configuration. | -| orchestrator.sonataflowPlatform.dataIndex | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | SonataFlow Data Index service configuration. | -| orchestrator.sonataflowPlatform.dataIndex.image | object | `{"digest":"","registry":"","repository":"","tag":""}` | Override the Data Index container image. If empty, the operator default is used. | -| orchestrator.sonataflowPlatform.dbCreationJob | object | `{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null}` | Database creation Job configuration. | -| orchestrator.sonataflowPlatform.dbCreationJob.image | object | `{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"}` | Container image for the create-db Job. | -| orchestrator.sonataflowPlatform.externalDB | object | `{"existingSecret":"","host":"","name":"","port":""}` | External database connection. Used when postgresql.enabled is false. | -| orchestrator.sonataflowPlatform.externalDB.existingSecret | string | `""` | Name of a Secret containing POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD keys. | -| orchestrator.sonataflowPlatform.externalDB.host | string | `""` | Database host (used in JDBC URLs). | -| orchestrator.sonataflowPlatform.externalDB.name | string | `""` | Database name to connect to for the CREATE DATABASE command. | -| orchestrator.sonataflowPlatform.externalDB.port | string | `""` | Database port (used in JDBC URLs). | -| orchestrator.sonataflowPlatform.jobService | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | SonataFlow Job Service configuration. | -| orchestrator.sonataflowPlatform.jobService.image | object | `{"digest":"","registry":"","repository":"","tag":""}` | Override the Job Service container image. If empty, the operator default is used. | -| podAnnotations | object | `{}` | Annotations to add to the pod. | -| podDisruptionBudget | object | `{"create":false,"maxUnavailable":1,"minAvailable":""}` | Pod Disruption Budget configuration. | -| podLabels | object | `{}` | Labels to add to the pod. | -| podSecurityContext | object | `{}` | Pod-level security context. | -| postgresql | object | `{"auth":{"secretKeys":{"adminPasswordKey":"postgres-password","userPasswordKey":"password"}},"enabled":true,"image":{"digest":"","registry":"quay.io","repository":"fedora/postgresql-18","tag":"latest"},"postgresqlDataDir":"/var/lib/pgsql/data/userdata","primary":{"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":false},"extraEnvVars":[{"name":"POSTGRESQL_ADMIN_PASSWORD","valueFrom":{"secretKeyRef":{"key":"{{- include \"rhdh.postgresql.adminPasswordKey\" . }}","name":"{{- include \"rhdh.postgresql.secretName\" . }}"}}}],"networkPolicy":{"enabled":false},"persistence":{"enabled":true,"mountPath":"/var/lib/pgsql/data","size":"1Gi"},"podSecurityContext":{"enabled":false},"resources":{"limits":{"cpu":"250m","ephemeral-storage":"20Mi","memory":"1024Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}},"readReplicas":{"networkPolicy":{"enabled":false}},"serviceBindings":{"enabled":true}}` | Built-in PostgreSQL database (bitnami subchart). | -| preInitContainers | list | `[]` | Init containers to run BEFORE the system init containers (e.g. inject auth credentials before install-dynamic-plugins runs). | -| priorityClassName | string | `""` | Priority class name for pod scheduling. Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ | -| readinessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/readiness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":2,"timeoutSeconds":4}` | Readiness probe configuration. | -| replicaCount | int | `1` | Number of desired pods. | -| resources | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"1Gi"}}` | Resource requests and limits for the main RHDH container. | -| revisionHistoryLimit | int | `10` | Number of old ReplicaSets to retain. | -| service | object | `{"annotations":{},"clusterIP":"","externalTrafficPolicy":"","extraPorts":[{"name":"http-metrics","port":9464,"targetPort":9464}],"ipFamilies":[],"ipFamilyPolicy":"","loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePort":"","port":7007,"sessionAffinity":"","type":"ClusterIP"}` | Service configuration. | -| service.extraPorts | list | `[{"name":"http-metrics","port":9464,"targetPort":9464}]` | Additional service ports. | -| service.ipFamilies | list | `[]` | IP families for dual-stack networking. | -| service.ipFamilyPolicy | string | `""` | IP family policy for dual-stack networking. | -| service.nodePort | string | `""` | Node port for NodePort/LoadBalancer service types (range 30000-32767). | -| serviceAccount | object | `{"annotations":{},"automount":true,"create":false,"labels":{},"name":""}` | ServiceAccount configuration. | -| serviceAccount.labels | object | `{}` | Additional labels for the ServiceAccount. | -| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. | -| startupProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":20,"successThreshold":1,"timeoutSeconds":4}` | Startup probe configuration. Gives the application time to start before liveness/readiness probes kick in. | -| strategy | object | `{}` | Deployment update strategy. | -| terminationGracePeriodSeconds | string | `nil` | Duration in seconds the pod needs to terminate gracefully before being force killed. Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination | -| test | object | `{"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"curl/curl","tag":"8.22.0"},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}}` | Test pod configuration for `helm test`. | -| tolerations | list | `[]` | Tolerations for pod assignment. | -| topologySpreadConstraints | list | `[]` | Topology spread constraints for pod scheduling. | -| workload | object | `{"kind":"Deployment","statefulSet":{"annotations":{},"extraVolumeClaimTemplates":[],"persistentVolumeClaimRetentionPolicy":{},"podManagementPolicy":"","serviceName":"","updateStrategy":{}}}` | Kubernetes workload controller for Backstage pod. | -| workload.kind | string | `"Deployment"` | Workload kind: Deployment (default) or StatefulSet. | -| workload.statefulSet.annotations | object | `{}` | Annotations on the StatefulSet resource. | -| workload.statefulSet.extraVolumeClaimTemplates | list | `[]` | Extra volumeClaimTemplates appended after the chart-managed dynamic-plugins-root claim (when type=statefulSetPVC). | -| workload.statefulSet.persistentVolumeClaimRetentionPolicy | object | `{}` | Optional PVC retention policy for the StatefulSet. | -| workload.statefulSet.podManagementPolicy | string | `""` | Pod management policy for the StatefulSet. | -| workload.statefulSet.serviceName | string | `""` | service name for the StatefulSet. Defaults to headless when empty. Service ({fullname}-headless) must match an existing service. | -| workload.statefulSet.updateStrategy | object | `{}` | StatefulSet update strategy. | +| Key | Description | Type | Default | +|-----|-------------|------|---------| +| affinity | Affinity rules for pod assignment. | object | `{}` | +| appConfig | Inline Backstage app-config YAML. Rendered into a ConfigMap and mounted as app-config-from-configmap.yaml. | object | Default config with base URLs, CORS, database connection, and backend auth. | +| argsOverride | Override the container arguments entirely. When set, system config arguments are NOT added automatically; you must include them yourself. | list | `[]` | +| auth | Service-to-service authentication configuration. | object | `{"backend":{"enabled":true,"existingSecretRef":{"key":"backend-secret","name":""},"value":""}}` | +| auth.backend.enabled | Enable backend service-to-service authentication. Generates a random secret unless existingSecretRef is set or value is provided. Disable if you inject the secret via extraEnvFrom or extraEnv instead. | bool | `true` | +| auth.backend.existingSecretRef | Reference an existing Secret instead of generating one. When not set, the chart auto-generates a random token. | object | `{"key":"backend-secret","name":""}` | +| auth.backend.existingSecretRef.key | Key within the Secret that holds the backend auth token. | string | `"backend-secret"` | +| auth.backend.existingSecretRef.name | Name of the existing Secret. When empty, the chart generates one. | string | `""` | +| auth.backend.value | Use a specific value instead of generating one. | string | `""` | +| autoscaling | Horizontal Pod Autoscaler configuration. | object | `{"enabled":false,"maxReplicas":3,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | +| catalogIndex | Catalog index configuration for automatic plugin discovery. | object | `{"extraImages":[],"image":{"digest":"","registry":"quay.io","repository":"rhdh/plugin-catalog-index","tag":"next"}}` | +| catalogIndex.extraImages | Extra catalog index images for additional plugin discovery in the Extensions UI. Each item must include `registry`, `repository`, and `tag` fields; `name` and `digest` are optional. Only catalog entities are extracted from extra images (no `dynamic-plugins.default.yaml` handling). | list | `[]` | +| commandOverride | Override the container command. | list | `[]` | +| commonAnnotations | Annotations applied to ALL chart resources. | object | `{}` | +| commonLabels | Labels applied to ALL chart resources. | object | `{}` | +| containerSecurityContext | Security context for the main RHDH container (not the Lightspeed Core sidecar or init containers). | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | +| deploymentAnnotations | Annotations for the Deployment resource (not the pod). | object | `{}` | +| dynamicPlugins | Dynamic plugin system configuration. | object | `{"includes":["dynamic-plugins.default.yaml"],"initContainer":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}},"maxEntrySize":40000000,"plugins":[],"volume":{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"}}` | +| dynamicPlugins.includes | Array of YAML files listing dynamic plugins to include. Relative paths are resolved from the working directory of the initContainer (`/opt/app-root/src`). | list | `["dynamic-plugins.default.yaml"]` | +| dynamicPlugins.initContainer | Configuration for the install-dynamic-plugins init container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"resources":{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}},"securityContext":{}}` | +| dynamicPlugins.initContainer.argsOverride | Override the default arguments. Leave empty to use the defaults. | list | `[]` | +| dynamicPlugins.initContainer.commandOverride | Override the default command. Leave empty to use the default (./install-dynamic-plugins.sh /dynamic-plugins-root). | list | `[]` | +| dynamicPlugins.initContainer.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | +| dynamicPlugins.initContainer.extraEnv | Extra environment variables appended after the system env vars (NPM_CONFIG_USERCONFIG, MAX_ENTRY_SIZE, CATALOG_INDEX_IMAGE, etc.). | list | `[]` | +| dynamicPlugins.initContainer.extraVolumeMounts | Additional volume mounts appended after the system mounts (dynamic-plugins-root, npmrc, registry-auth, npmcacache, extensions-catalog, temp). | list | `[]` | +| dynamicPlugins.initContainer.resources | Resource requests and limits. | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"256Mi"}}` | +| dynamicPlugins.initContainer.securityContext | Security context for the init container. | object | Same as containerSecurityContext | +| dynamicPlugins.maxEntrySize | Maximum uncompressed size (in bytes) of a single dynamic plugin entry. | int | `40000000` | +| dynamicPlugins.plugins | List of dynamic plugins. Every item defines the plugin `package` as a NPM package spec or OCI reference. | list | `[]` | +| dynamicPlugins.volume | Volume configuration for the dynamic plugins root directory. | object | `{"emptyDir":{},"ephemeral":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"pvc":{"claimName":""},"statefulSetPVC":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""},"type":"ephemeral"}` | +| dynamicPlugins.volume.emptyDir | Raw Kubernetes emptyDir volume spec. Used when type is "emptyDir". | object | `{}` | +| dynamicPlugins.volume.ephemeral | Ephemeral volume configuration. Used when type is "ephemeral". The chart builds the full ephemeral.volumeClaimTemplate.spec from these fields. | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | +| dynamicPlugins.volume.ephemeral.accessModes | Access modes for the ephemeral PVC. | list | `["ReadWriteOnce"]` | +| dynamicPlugins.volume.ephemeral.resources | Resource requests for the ephemeral PVC. | object | `{"requests":{"storage":"5Gi"}}` | +| dynamicPlugins.volume.ephemeral.storageClassName | StorageClass for the ephemeral volume. When empty, uses global.defaultStorageClass or the cluster default. | string | `""` | +| dynamicPlugins.volume.pvc | Raw Kubernetes persistentVolumeClaim volume spec. Used when type is "pvc". | object | `{"claimName":""}` | +| dynamicPlugins.volume.statefulSetPVC | StatefulSet-owned PVC volume spec. Used when type is "statefulSetPVC". | object | `{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"5Gi"}},"storageClassName":""}` | +| dynamicPlugins.volume.statefulSetPVC.accessModes | Access modes for the StatefulSet-owned PVC. | list | `["ReadWriteOnce"]` | +| dynamicPlugins.volume.statefulSetPVC.resources | Resource requests for the StatefulSet-owned PVC. | object | `{"requests":{"storage":"5Gi"}}` | +| dynamicPlugins.volume.statefulSetPVC.storageClassName | StorageClass. When empty, uses global.defaultStorageClass or the cluster default. | string | `""` | +| dynamicPlugins.volume.type | Volume type: "ephemeral" (auto-provisioned PVC per pod), "emptyDir" (scratch space, lost on pod restart), "pvc" (pre-existing PersistentVolumeClaim), or "statefulSetPVC" (StatefulSet volumeClaimTemplate; requires workload.kind=StatefulSet). | string | `"ephemeral"` | +| envFromOverride | Override the container envFrom entirely. When set, extraEnvFrom is ignored. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | list | `[]` | +| envOverride | Override the container environment variables entirely. When set, system env vars (BACKEND_SECRET, DB credentials, etc.) are NOT added automatically. | list | `[]` | +| externalDatabase | External database connection. Used when postgresql.enabled is false. See docs/external-db.md for TLS setup and privilege requirements. When both postgresql.enabled and externalDatabase.host are false/empty, the chart renders no database env vars (BYO configuration via extraEnv or appConfig). | object | `{"existingSecretRef":{"key":"password","name":""},"host":"","port":5432,"user":"postgres"}` | +| externalDatabase.existingSecretRef | Reference to an existing Secret containing the database password. | object | `{"key":"password","name":""}` | +| externalDatabase.existingSecretRef.key | Key within the Secret that holds the password. | string | `"password"` | +| externalDatabase.existingSecretRef.name | Name of the existing Secret. | string | `""` | +| externalDatabase.host | External database hostname. | string | `""` | +| externalDatabase.port | External database port. | int | `5432` | +| externalDatabase.user | External database user. | string | `"postgres"` | +| extraAppConfig | Additional app-config files from existing ConfigMaps. | list | `[]` | +| extraArgs | Extra arguments appended after the system config flags. | list | `[]` | +| extraContainers | Additional sidecar containers. These are ADDED to system containers (e.g. Lightspeed Core sidecar), never replacing them. | list | `[]` | +| extraDeploy | Array of extra objects to deploy with the release (rendered through `tpl`). Each element is a complete Kubernetes manifest; Helm template expressions are supported. | list | `[]` | +| extraEnv | Extra environment variables appended after the system env vars. | list | `[]` | +| extraEnvFrom | Extra envFrom entries appended to the container. Accepts raw Kubernetes envFrom entries (configMapRef, secretRef, prefix). | list | `[]` | +| extraInitContainers | Additional init containers. These are ADDED after system init containers (install-dynamic-plugins), never replacing them. | list | `[]` | +| extraVolumeMounts | Additional volume mounts to add to the main container. These are ADDED to system-required mounts, never replacing them. | list | `[]` | +| extraVolumes | Additional volumes to add to the pod. These are ADDED to system-required volumes (dynamic-plugins-root, temp, npmcacache, etc.), never replacing them. | list | `[]` | +| fullnameOverride | Override the full resource name. | string | `""` | +| global | Global parameters shared with bitnami subcharts (postgresql, common). | object | `{"defaultStorageClass":"","imagePullSecrets":[],"imageRegistry":""}` | +| global.defaultStorageClass | Global default StorageClass for PVCs. | string | `""` | +| global.imagePullSecrets | Global Docker registry secret names. | list | `[]` | +| global.imageRegistry | Global Docker image registry. Overrides per-image registries for all containers. | string | `""` | +| host | Custom hostname. Overrides openshift.clusterRouterBase for URL generation. | string | `""` | +| hostAliases | Host aliases for /etc/hosts entries. | list | `[]` | +| httpRoute | Gateway API HTTPRoute configuration. | object | `{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[],"rules":[]}` | +| httpRoute.labels | Additional labels for the HTTPRoute resource. | object | `{}` | +| image | Container image configuration. | object | `{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"rhdh-community/rhdh","tag":"next"}` | +| image.digest | Overrides the image tag with an image digest. | string | `""` | +| imagePullSecrets | Secrets for pulling images from private registries (merged with global.imagePullSecrets). | list | `[]` | +| ingress | Kubernetes Ingress configuration. | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"{{ .Values.host }}","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | +| intelligentAssistant | Built-in Intelligent Assistant feature configuration. | object | `{"config":{"profile":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}},"core":{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.7.0rc3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}},"enabled":true,"existingSecret":"","okp":{"affinity":{},"enabled":false,"httpd":{"compressed":"true","encrypt":"false","serverName":"localhost"},"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"registry.redhat.io","repository":"offline-knowledge-portal/rhokp-rhel9","tag":"1.2.12-1788274041"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":true,"host":"","tls":{"enabled":false,"secretName":""}},"livenessProbe":{"initialDelaySeconds":30,"periodSeconds":30},"nodeSelector":{},"readinessProbe":{"initialDelaySeconds":10,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"200m","memory":"2Gi"}},"route":{"enabled":true,"tls":{"insecureEdgeTerminationPolicy":"Redirect","termination":"edge"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}},"service":{"type":"ClusterIP"},"solr":{"hostBind":"0.0.0.0","memory":"1g"},"tolerations":[],"topologySpreadConstraints":[]},"plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}],"runtimeVolume":{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}}` | +| intelligentAssistant.config | Configuration files mounted into the sidecar. By default, the chart creates ConfigMaps from bundled source files. Set existingConfigMap to use a pre-existing ConfigMap instead. | object | `{"profile":{"existingConfigMap":{"key":"","name":""}},"stack":{"existingConfigMap":{"key":"","name":""}}}` | +| intelligentAssistant.config.profile | Python profile with prompt templates (rhdh-profile.py). | object | `{"existingConfigMap":{"key":"","name":""}}` | +| intelligentAssistant.config.profile.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled rhdh-profile.py | +| intelligentAssistant.config.profile.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (rhdh-profile.py) if not set. | string | `""` | +| intelligentAssistant.config.profile.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | +| intelligentAssistant.config.stack | Lightspeed Core service configuration (lightspeed-stack.yaml). | object | `{"existingConfigMap":{"key":"","name":""}}` | +| intelligentAssistant.config.stack.existingConfigMap | Use an existing ConfigMap instead of the bundled default. | object | Created from bundled lightspeed-stack.yaml | +| intelligentAssistant.config.stack.existingConfigMap.key | Key within the ConfigMap that holds the file content. Defaults to the bundled filename (lightspeed-stack.yaml) if not set. | string | `""` | +| intelligentAssistant.config.stack.existingConfigMap.name | Name of the existing ConfigMap. | string | `""` | +| intelligentAssistant.core | Lightspeed Core sidecar container. | object | `{"argsOverride":[],"commandOverride":[],"extraArgs":[],"extraEnv":[],"extraVolumeMounts":[],"image":{"digest":"","registry":"quay.io","repository":"lightspeed-core/lightspeed-stack","tag":"0.7.0rc3"},"imagePullPolicy":"IfNotPresent","resources":{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}}` | +| intelligentAssistant.core.argsOverride | Override the container's default args. Leave empty to use the chart defaults. | list | `[]` | +| intelligentAssistant.core.commandOverride | Override the container's default command. Leave empty to use the image entrypoint. | list | `[]` | +| intelligentAssistant.core.extraArgs | Extra arguments appended after the default arguments. Ignored when argsOverride is set. | list | `[]` | +| intelligentAssistant.existingSecret | Name of an existing Secret that supplies credentials and settings to the lightspeed-core container. Configure the provider itself in lightspeed-stack.yaml. If empty, no Secret is loaded. Expected keys (all optional; include only keys used by the configured provider): VLLM_URL, VLLM_API_KEY, VLLM_MAX_TOKENS, VLLM_TLS_VERIFY, OPENAI_API_KEY, VERTEX_AI_PROJECT, VERTEX_AI_LOCATION, GOOGLE_APPLICATION_CREDENTIALS, ENABLE_VALIDATION, VALIDATION_PROVIDER, VALIDATION_MODEL_NAME Set ENABLE_VALIDATION to question_validity to enable validation. GOOGLE_APPLICATION_CREDENTIALS must be a path to a credentials file mounted in the sidecar. See files/intelligent-assistant/secret.example.yaml for a reference template. | string | `""` | +| intelligentAssistant.okp | OKP (Offline Knowledge Portal) configuration. Deploys an OKP instance for RHDH documentation retrieval when explicitly enabled. The image is large and can significantly increase initial installation time. | object | `{"affinity":{},"enabled":false,"httpd":{"compressed":"true","encrypt":"false","serverName":"localhost"},"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"registry.redhat.io","repository":"offline-knowledge-portal/rhokp-rhel9","tag":"1.2.12-1788274041"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":true,"host":"","tls":{"enabled":false,"secretName":""}},"livenessProbe":{"initialDelaySeconds":30,"periodSeconds":30},"nodeSelector":{},"readinessProbe":{"initialDelaySeconds":10,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"200m","memory":"2Gi"}},"route":{"enabled":true,"tls":{"insecureEdgeTerminationPolicy":"Redirect","termination":"edge"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}},"service":{"type":"ClusterIP"},"solr":{"hostBind":"0.0.0.0","memory":"1g"},"tolerations":[],"topologySpreadConstraints":[]}` | +| intelligentAssistant.okp.affinity | Pod scheduling: affinity rules for the OKP pod. | object | `{}` | +| intelligentAssistant.okp.enabled | Enable OKP-backed RHDH documentation retrieval. Disabled by default on all platforms. | bool | `false` | +| intelligentAssistant.okp.imagePullSecrets | Image pull secrets for the OKP container image. Required on vanilla Kubernetes to authenticate with registry.redhat.io. Not needed on OpenShift where the cluster-wide pull secret covers Red Hat registries. | list | `[]` | +| intelligentAssistant.okp.livenessProbe | Liveness probe configuration for the OKP container. | object | `{"initialDelaySeconds":30,"periodSeconds":30}` | +| intelligentAssistant.okp.nodeSelector | Pod scheduling: node selector for the OKP pod. | object | `{}` | +| intelligentAssistant.okp.readinessProbe | Readiness probe configuration for the OKP container. | object | `{"initialDelaySeconds":10,"periodSeconds":10}` | +| intelligentAssistant.okp.securityContext | OKP container security context. readOnlyRootFilesystem is not set because Solr (Lucene) writes a lock file into its pre-built index directory at runtime. | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | +| intelligentAssistant.okp.tolerations | Pod scheduling: tolerations for the OKP pod. | list | `[]` | +| intelligentAssistant.okp.topologySpreadConstraints | Pod scheduling: topology spread constraints for the OKP pod. | list | `[]` | +| intelligentAssistant.plugins | Intelligent Assistant dynamic plugin packages. | list | `[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend"}]` | +| intelligentAssistant.runtimeVolume | Writable scratch volume for the sidecar (/tmp). | object | `{"emptyDir":{},"persistentVolumeClaim":{},"type":"emptyDir"}` | +| intelligentAssistant.runtimeVolume.type | Volume type: "emptyDir" or "persistentVolumeClaim". | string | `"emptyDir"` | +| lifecycleHooks | Lifecycle hooks for the main RHDH container. Ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/ | object | `{}` | +| livenessProbe | Liveness probe configuration. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":4}` | +| metrics | Prometheus metrics configuration. | object | `{"serviceMonitor":{"annotations":{},"enabled":false,"interval":"","labels":{},"path":"/metrics","port":"http-metrics"}}` | +| nameOverride | Override the chart name used in resource naming. | string | `"developer-hub"` | +| nodeSelector | Node labels for pod assignment. | object | `{}` | +| openshift | OpenShift-specific configuration. | object | `{"clusterRouterBase":"apps.example.com","route":{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","targetPort":"http-backend","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}}` | +| openshift.clusterRouterBase | Cluster router base domain used to auto-generate the hostname. | string | `"apps.example.com"` | +| openshift.route | OpenShift Route configuration. | object | `{"annotations":{},"enabled":true,"host":"{{ .Values.host }}","path":"/","targetPort":"http-backend","tls":{"caCertificate":"","certificate":"","destinationCACertificate":"","enabled":true,"insecureEdgeTerminationPolicy":"Redirect","key":"","termination":"edge"},"wildcardPolicy":"None"}` | +| orchestrator | Orchestrator (Serverless workflows) configuration. | object | `{"enabled":false,"plugins":[{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator-backend"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-orchestrator"},{"enabled":true,"package":"ref://red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator"}],"serverlessLogicOperator":{"enabled":true},"serverlessOperator":{"enabled":true},"sonataflowPlatform":{"dataIndex":{"image":{"digest":"","registry":"","repository":"","tag":""}},"dbCreationJob":{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null},"eventing":{"broker":{"name":"","namespace":""}},"externalDB":{"existingSecret":"","host":"","name":"","port":""},"jobService":{"image":{"digest":"","registry":"","repository":"","tag":""}},"monitoring":{"enabled":true},"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"250m","memory":"64Mi"}}}}` | +| orchestrator.sonataflowPlatform.dataIndex | SonataFlow Data Index service configuration. | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | +| orchestrator.sonataflowPlatform.dataIndex.image | Override the Data Index container image. If empty, the operator default is used. | object | `{"digest":"","registry":"","repository":"","tag":""}` | +| orchestrator.sonataflowPlatform.dbCreationJob | Database creation Job configuration. | object | `{"activeDeadlineSeconds":120,"backoffLimit":2,"image":{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"},"ttlSecondsAfterFinished":null}` | +| orchestrator.sonataflowPlatform.dbCreationJob.image | Container image for the create-db Job. | object | `{"digest":"{{ .Values.postgresql.image.digest }}","registry":"{{ .Values.postgresql.image.registry }}","repository":"{{ .Values.postgresql.image.repository }}","tag":"{{ .Values.postgresql.image.tag }}"}` | +| orchestrator.sonataflowPlatform.externalDB | External database connection. Used when postgresql.enabled is false. | object | `{"existingSecret":"","host":"","name":"","port":""}` | +| orchestrator.sonataflowPlatform.externalDB.existingSecret | Name of a Secret containing POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD keys. | string | `""` | +| orchestrator.sonataflowPlatform.externalDB.host | Database host (used in JDBC URLs). | string | `""` | +| orchestrator.sonataflowPlatform.externalDB.name | Database name to connect to for the CREATE DATABASE command. | string | `""` | +| orchestrator.sonataflowPlatform.externalDB.port | Database port (used in JDBC URLs). | string | `""` | +| orchestrator.sonataflowPlatform.jobService | SonataFlow Job Service configuration. | object | `{"image":{"digest":"","registry":"","repository":"","tag":""}}` | +| orchestrator.sonataflowPlatform.jobService.image | Override the Job Service container image. If empty, the operator default is used. | object | `{"digest":"","registry":"","repository":"","tag":""}` | +| podAnnotations | Annotations to add to the pod. | object | `{}` | +| podDisruptionBudget | Pod Disruption Budget configuration. | object | `{"create":false,"maxUnavailable":1,"minAvailable":""}` | +| podLabels | Labels to add to the pod. | object | `{}` | +| podSecurityContext | Pod-level security context. | object | `{}` | +| postgresql | Built-in PostgreSQL database (bitnami subchart). | object | `{"auth":{"secretKeys":{"adminPasswordKey":"postgres-password","userPasswordKey":"password"}},"enabled":true,"image":{"digest":"","registry":"quay.io","repository":"fedora/postgresql-18","tag":"latest"},"postgresqlDataDir":"/var/lib/pgsql/data/userdata","primary":{"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":false},"extraEnvVars":[{"name":"POSTGRESQL_ADMIN_PASSWORD","valueFrom":{"secretKeyRef":{"key":"{{- include \"rhdh.postgresql.adminPasswordKey\" . }}","name":"{{- include \"rhdh.postgresql.secretName\" . }}"}}}],"networkPolicy":{"enabled":false},"persistence":{"enabled":true,"mountPath":"/var/lib/pgsql/data","size":"1Gi"},"podSecurityContext":{"enabled":false},"resources":{"limits":{"cpu":"250m","ephemeral-storage":"20Mi","memory":"1024Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}},"readReplicas":{"networkPolicy":{"enabled":false}},"serviceBindings":{"enabled":true}}` | +| preInitContainers | Init containers to run BEFORE the system init containers (e.g. inject auth credentials before install-dynamic-plugins runs). | list | `[]` | +| priorityClassName | Priority class name for pod scheduling. Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ | string | `""` | +| readinessProbe | Readiness probe configuration. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/readiness","port":"backend","scheme":"HTTP"},"periodSeconds":10,"successThreshold":2,"timeoutSeconds":4}` | +| replicaCount | Number of desired pods. | int | `1` | +| resources | Resource requests and limits for the main RHDH container. | object | `{"limits":{"cpu":"1000m","ephemeral-storage":"5Gi","memory":"2.5Gi"},"requests":{"cpu":"250m","memory":"1Gi"}}` | +| revisionHistoryLimit | Number of old ReplicaSets to retain. | int | `10` | +| service | Service configuration. | object | `{"annotations":{},"clusterIP":"","externalTrafficPolicy":"","extraPorts":[{"name":"http-metrics","port":9464,"targetPort":9464}],"ipFamilies":[],"ipFamilyPolicy":"","loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePort":"","port":7007,"sessionAffinity":"","type":"ClusterIP"}` | +| service.extraPorts | Additional service ports. | list | `[{"name":"http-metrics","port":9464,"targetPort":9464}]` | +| service.ipFamilies | IP families for dual-stack networking. | list | `[]` | +| service.ipFamilyPolicy | IP family policy for dual-stack networking. | string | `""` | +| service.nodePort | Node port for NodePort/LoadBalancer service types (range 30000-32767). | string | `""` | +| serviceAccount | ServiceAccount configuration. | object | `{"annotations":{},"automount":true,"create":false,"labels":{},"name":""}` | +| serviceAccount.labels | Additional labels for the ServiceAccount. | object | `{}` | +| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. | string | `""` | +| startupProbe | Startup probe configuration. Gives the application time to start before liveness/readiness probes kick in. | object | `{"failureThreshold":3,"httpGet":{"path":"/.backstage/health/v1/liveness","port":"backend","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":20,"successThreshold":1,"timeoutSeconds":4}` | +| strategy | Deployment update strategy. | object | `{}` | +| terminationGracePeriodSeconds | Duration in seconds the pod needs to terminate gracefully before being force killed. Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination | string | `nil` | +| test | Test pod configuration for `helm test`. | object | `{"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","registry":"quay.io","repository":"curl/curl","tag":"8.22.0"},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}}` | +| tolerations | Tolerations for pod assignment. | list | `[]` | +| topologySpreadConstraints | Topology spread constraints for pod scheduling. | list | `[]` | +| workload | Kubernetes workload controller for Backstage pod. | object | `{"kind":"Deployment","statefulSet":{"annotations":{},"extraVolumeClaimTemplates":[],"persistentVolumeClaimRetentionPolicy":{},"podManagementPolicy":"","serviceName":"","updateStrategy":{}}}` | +| workload.kind | Workload kind: Deployment (default) or StatefulSet. | string | `"Deployment"` | +| workload.statefulSet.annotations | Annotations on the StatefulSet resource. | object | `{}` | +| workload.statefulSet.extraVolumeClaimTemplates | Extra volumeClaimTemplates appended after the chart-managed dynamic-plugins-root claim (when type=statefulSetPVC). | list | `[]` | +| workload.statefulSet.persistentVolumeClaimRetentionPolicy | Optional PVC retention policy for the StatefulSet. | object | `{}` | +| workload.statefulSet.podManagementPolicy | Pod management policy for the StatefulSet. | string | `""` | +| workload.statefulSet.serviceName | service name for the StatefulSet. Defaults to headless when empty. Service ({fullname}-headless) must match an existing service. | string | `""` | +| workload.statefulSet.updateStrategy | StatefulSet update strategy. | object | `{}` | ## Opinionated RHDH deployment From d3076e16b377b17e29565aab7d304b5a9531398c Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 16:41:49 +0200 Subject: [PATCH 17/20] docs: address Qodo review feedback on migration guide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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/migration-from-backstage-chart.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 0da73ca34..9987e66d2 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -71,11 +71,11 @@ connections will be silently blocked. ### Schema validation The new chart ships a JSON Schema (`values.schema.json`) that validates your -values at install/upgrade time. Any unrecognized keys — including leftover -`upstream.*` or `global.*` paths that were not migrated — will cause Helm to -fail with a validation error. This makes it easy to catch stale values early, -but it also means a partial migration will not install. Run -`helm template redhat-developer/redhat-developer-hub -f new-values.yaml` to validate your file before upgrading. +values at install/upgrade time. The schema catches type errors and invalid +values for known keys, but leftover top-level keys (e.g., `upstream.*`) may +pass silently. Make sure you remove or migrate **all** old paths — do not rely +on schema validation alone to catch stale values. Run +`helm template redhat-developer/redhat-developer-hub -f new-values.yaml` to check for template rendering errors before upgrading. ### New features (no old-chart equivalent) @@ -187,7 +187,7 @@ mapping from the old chart, but are worth knowing about during migration: | Old path | New path | Notes | |----------|----------|-------| | `upstream.backstage.command` | `commandOverride` | | -| `upstream.backstage.args` | `argsOverride` | System `--config` flags now auto-injected | +| `upstream.backstage.args` | `extraArgs` or `argsOverride` | Prefer `extraArgs` — it appends after the system `--config` flags. `argsOverride` replaces **all** arguments, including system ones; only use it if you need full control | | `upstream.backstage.extraEnvVars` | `extraEnv` | System env vars auto-injected; only add custom ones | | `upstream.backstage.extraEnvVarsSecrets` | `extraEnvFrom` | Use `secretRef` entries instead of secret name strings | | `upstream.backstage.extraEnvVarsCM` | `extraEnvFrom` | Use `configMapRef` entries instead of ConfigMap name strings | @@ -296,8 +296,8 @@ mapping from the old chart, but are worth knowing about during migration: | `upstream.ingress.annotations` | `ingress.annotations` | | | `upstream.ingress.host` | `ingress.hosts[].host` | Now an array of host objects | | `upstream.ingress.path` | `ingress.hosts[].paths[].path` | Nested under hosts array | -| `upstream.ingress.extraHosts` | `ingress.hosts[]` | Merged into main hosts array | -| `upstream.ingress.tls.enabled` / `tls.secretName` | `ingress.tls[]` | Now a list of TLS entries | +| `upstream.ingress.extraHosts` | `ingress.hosts[]` | Merged into main hosts array; old `name` field becomes `host`, old `path` becomes an item in `paths[]` | +| `upstream.ingress.tls.enabled` / `tls.secretName` | `ingress.tls[]` | Now a list of `{hosts: [...], secretName: "..."}` entries | | `upstream.ingress.extraTls` | `ingress.tls[]` | Merged into main tls array | ### Catalog index @@ -363,7 +363,7 @@ mapping from the old chart, but are worth knowing about during migration: | `global.lightspeed.runtimeVolume.name` | _(hardcoded)_ | Chart manages volume names internally | | `global.lightspeed.runtimeVolume.mountPath` | _(hardcoded)_ | Chart manages mount paths internally | | `global.lightspeed.configMaps` | `intelligentAssistant.config.{stack,profile}.existingConfigMap` | Array of 3 configMaps replaced with 2 structured entries; the separate `config.yaml` is no longer needed because the llama-stack configuration is now inlined in `lightspeed-stack.yaml` | -| `global.lightspeed.secret.create` / `.name` | `intelligentAssistant.existingSecret` | Simplified to a secret name string | +| `global.lightspeed.secret.create` / `.name` | `intelligentAssistant.existingSecret` | The new chart does not create a placeholder secret — you must create it independently before upgrading, then set `intelligentAssistant.existingSecret` to its name. See [`files/intelligent-assistant/secret.example.yaml`](../files/intelligent-assistant/secret.example.yaml) for a reference template | | `global.lightspeed.secret.optional` | _(removed)_ | No longer needed; the secret is only mounted when `intelligentAssistant.existingSecret` is set | ### Orchestrator From 71a15aa864f82522f383d879fb65c080a1b1927b Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 18:37:51 +0200 Subject: [PATCH 18/20] docs: address PR review feedback and improve migration guide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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/migration-from-backstage-chart.md | 90 +++++++------------ 1 file changed, 31 insertions(+), 59 deletions(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 9987e66d2..4c85eae16 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -1,47 +1,38 @@ # Migration guide: `backstage` chart (RHDH 1.y) to `redhat-developer-hub` chart (RHDH 2.y) -This `redhat-developer-hub` chart is a clean break from the 1.y `backstage` chart. -The old chart delegated most Kubernetes resource creation to an embedded upstream -[Backstage subchart](https://github.com/backstage/charts), so values lived under -`upstream.backstage.*` and `global.*`. The new chart owns all templates directly and -flattens configuration to root-level keys. +This `redhat-developer-hub` chart is a clean break from the 1.y `backstage` chart. The old chart delegated most Kubernetes resource creation to an embedded upstream [Backstage subchart](https://github.com/backstage/charts), so values lived under `upstream.backstage.*` and `global.*`. The new chart owns all templates directly and flattens configuration to root-level keys. > [!IMPORTANT] -> Because the values structure has changed, you cannot pass your old values file -> directly to the new chart. You must migrate your values first, then -> `helm upgrade` the release in place. Tooling (a migration script or AI skill) -> to automate the values conversion is planned in the near future. +> Because the values structure has changed, you cannot pass your old values file directly to the new chart. You must migrate your values first, then `helm upgrade` the release in place. Tooling (a migration script or AI skill) to automate the values conversion is planned in the near future. > [!NOTE] -> This guide focuses on values that **changed path, were removed, or changed -> semantics**. Fields not explicitly listed here (e.g., `orchestrator.*`, -> `test.*`) retain the same path and semantics — carry them over as-is. +> Fields not listed in the tables below keep the same path. Where a table shows a new path, use that. If a field you use is not mentioned at all, carry it over as-is. ## Migration steps -1. Locate your existing values file (typically stored in your Git repo or - locally). If you don't have it, you can export the user-supplied overrides - from a running release: +1. Locate your existing values file (typically stored in your Git repo or locally). If you don't have it, you can export the user-supplied overrides from a running release: ```bash - helm get values -o yaml > old-values.yaml + helm get values -n -o yaml > old-values.yaml ``` -2. Create a new values file using the mapping tables below to translate each - setting to its new path. +2. Create a new values file using the mapping tables below to translate each setting to its new path. -3. Upgrade the existing release in place with the new chart and migrated values: +3. Before upgrading, watch for these default changes: + - **Intelligent Assistant** is now enabled by default. If Lightspeed was disabled in your old chart, set `intelligentAssistant.enabled: false`. + - **PostgreSQL image** defaults to version 18. If you have an existing data directory, keep the old image (`postgresql.image.tag`) until you plan a PostgreSQL major upgrade. + +4. Upgrade the existing release in place with the new chart and migrated values: ```bash - helm upgrade --install redhat-developer/redhat-developer-hub -f new-values.yaml + helm upgrade --install redhat-developer/redhat-developer-hub -n -f new-values.yaml ``` -4. Verify the deployment is healthy. +5. Verify the deployment is healthy. ## Prerequisites -The new chart requires **Kubernetes 1.31+** (OpenShift 4.18+). If you are -running an older cluster, upgrade it before migrating. +The new chart requires **Kubernetes 1.31+** (OpenShift 4.18+). If you are running an older cluster, upgrade it before migrating. ## Key structural changes @@ -53,7 +44,7 @@ running an older cluster, upgrade it before migrating. | Init containers | User had to specify the full init container array | System init containers are managed by the chart (e.g., `install-dynamic-plugins` is configurable via `dynamicPlugins.initContainer.*`); use `preInitContainers` / `extraInitContainers` to add custom ones | | Database env vars | `POSTGRESQL_ADMIN_PASSWORD` injected manually via `upstream.backstage.extraEnvVars` | `POSTGRES_HOST`, `POSTGRES_PORT`, `POSTGRES_USER`, `POSTGRES_PASSWORD` auto-injected | | Image digests | `upstream.backstage.image.digest` only | Every image (`image`, `catalogIndex.image`, `intelligentAssistant.core.image`, etc.) has a `digest` field for pinning by digest | -| Global image registry | Not available | `global.imageRegistry` overrides the registry for all container images consistently — useful for disconnected / air-gapped environments | +| Global image registry | Supported via embedded Bitnami common chart but undocumented and not applied consistently | `global.imageRegistry` is now documented and applied consistently to all container images — useful for disconnected / air-gapped environments | | Lightspeed | `global.lightspeed.*` | Rebranded to `intelligentAssistant.*` | | OpenShift Route | `route.*` | `openshift.route.*` | @@ -61,36 +52,19 @@ running an older cluster, upgrade it before migrating. ### Network policies -The new chart deploys **default-deny** NetworkPolicies for the RHDH pod and -allows only the traffic it knows about (DNS, PostgreSQL, OpenShift -ingress/monitoring). If your deployment relies on additional network -connectivity (e.g., external APIs, custom sidecars, or cross-namespace -services), you must add the corresponding NetworkPolicy rules or the -connections will be silently blocked. +The new chart deploys **default-deny** NetworkPolicies for the RHDH pod and allows only the traffic it knows about (DNS, PostgreSQL, OpenShift ingress/monitoring). If your deployment relies on additional network connectivity (e.g., external APIs, custom sidecars, or cross-namespace services), you must add the corresponding NetworkPolicy rules or the connections will be silently blocked. See [Adding your own NetworkPolicies](../README.md#adding-your-own-networkpolicies) for details. ### Schema validation -The new chart ships a JSON Schema (`values.schema.json`) that validates your -values at install/upgrade time. The schema catches type errors and invalid -values for known keys, but leftover top-level keys (e.g., `upstream.*`) may -pass silently. Make sure you remove or migrate **all** old paths — do not rely -on schema validation alone to catch stale values. Run -`helm template redhat-developer/redhat-developer-hub -f new-values.yaml` to check for template rendering errors before upgrading. +The new chart ships a JSON Schema (`values.schema.json`) that validates your values at install/upgrade time. The schema catches type errors and invalid values for known keys, but leftover top-level keys (e.g., `upstream.*`) may pass silently. Make sure you remove or migrate **all** old paths — do not rely on schema validation alone to catch stale values. Run `helm template redhat-developer/redhat-developer-hub -f new-values.yaml` to check for template rendering errors before upgrading. ### New features (no old-chart equivalent) -These capabilities are new in the `redhat-developer-hub` chart and have no -mapping from the old chart, but are worth knowing about during migration: +These capabilities are new in the `redhat-developer-hub` chart and have no mapping from the old chart, but are worth knowing about during migration: -- **StatefulSet workload** — set `workload.kind: StatefulSet` for stable pod - identity and persistent volumes via `volumeClaimTemplates`. Pair with - `dynamicPlugins.volume.type: statefulSetPVC` and - `dynamicPlugins.volume.statefulSetPVC` to get per-pod stable caching for - dynamic plugins. -- **External database** — `externalDatabase.*` for connecting to a database - outside the cluster when `postgresql.enabled: false`. -- **OKP (Offline Knowledge Portal)** — `intelligentAssistant.okp.*` for - offline RHDH documentation retrieval. +- **StatefulSet workload** — set `workload.kind: StatefulSet` for stable pod identity and persistent volumes via `volumeClaimTemplates`. Pair with `dynamicPlugins.volume.type: statefulSetPVC` and `dynamicPlugins.volume.statefulSetPVC` to get per-pod stable caching for dynamic plugins. +- **External database** — the concept of using an external database is not new, but the new chart provides a dedicated `externalDatabase.*` block for configuring the connection when `postgresql.enabled: false`. See the [external database documentation](../../docs/external-db.md). +- **OKP (Offline Knowledge Portal)** — `intelligentAssistant.okp.*` for offline RHDH documentation retrieval. ## Values mapping reference @@ -122,7 +96,7 @@ mapping from the old chart, but are worth knowing about during migration: | `global.clusterRouterBase` | `openshift.clusterRouterBase` | | | `global.host` | `host` | Promoted to root | | `global.imagePullSecrets` | `global.imagePullSecrets` | Unchanged (used by bitnami subcharts) | -| _(none)_ | `global.imageRegistry` | New; overrides the registry for all container images — useful for disconnected / air-gapped environments | +| `global.imageRegistry` | `global.imageRegistry` | Now documented and applied consistently to all container images — useful for disconnected / air-gapped environments | ### App config @@ -311,14 +285,14 @@ mapping from the old chart, but are worth knowing about during migration: ### PostgreSQL (bitnami subchart) -| Old path | New path | -|----------|----------| -| `upstream.postgresql.enabled` | `postgresql.enabled` | -| `upstream.postgresql.postgresqlDataDir` | `postgresql.postgresqlDataDir` | -| `upstream.postgresql.serviceBindings.enabled` | `postgresql.serviceBindings.enabled` | -| `upstream.postgresql.image.*` | `postgresql.image.*` | -| `upstream.postgresql.auth.*` | `postgresql.auth.*` | -| `upstream.postgresql.primary.*` | `postgresql.primary.*` | +| Old path | New path | Notes | +|----------|----------|-------| +| `upstream.postgresql.enabled` | `postgresql.enabled` | | +| `upstream.postgresql.postgresqlDataDir` | `postgresql.postgresqlDataDir` | | +| `upstream.postgresql.serviceBindings.enabled` | `postgresql.serviceBindings.enabled` | | +| `upstream.postgresql.image.*` | `postgresql.image.*` | **Warning:** default image changed from PostgreSQL 15 to 18. If you have an existing data directory created by PostgreSQL 15, explicitly set `postgresql.image.tag` to your current version until you plan a PostgreSQL major upgrade | +| `upstream.postgresql.auth.*` | `postgresql.auth.*` | | +| `upstream.postgresql.primary.*` | `postgresql.primary.*` | | ### Metrics / monitoring @@ -391,12 +365,10 @@ mapping from the old chart, but are worth knowing about during migration: ### Removed values (no equivalent) -The following old-chart values have no equivalent in the new chart because the -functionality is either hardcoded or no longer applicable: +The following old-chart values have no equivalent in the new chart because the functionality is either hardcoded or no longer applicable: | Old path | Notes | |----------|-------| | `upstream.backstage.installDir` | Hardcoded in the new chart | | `upstream.backstage.containerPorts.backend` | Hardcoded to `7007` | -| `upstream.backstage.extraPorts` | Moved to `service.extraPorts` | | `upstream.diagnosticMode.*` | Not supported | From 7b9eefdd873011ca40dd237e59a4256d0819ff8d Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 18:42:00 +0200 Subject: [PATCH 19/20] docs: fix Intelligent Assistant default description in migration guide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lightspeed was already enabled by default in the old chart, so the new chart's default hasn't changed — only the key name has. --- charts/rhdh/docs/migration-from-backstage-chart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index 4c85eae16..e23b3a3e0 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -19,7 +19,7 @@ This `redhat-developer-hub` chart is a clean break from the 1.y `backstage` char 2. Create a new values file using the mapping tables below to translate each setting to its new path. 3. Before upgrading, watch for these default changes: - - **Intelligent Assistant** is now enabled by default. If Lightspeed was disabled in your old chart, set `intelligentAssistant.enabled: false`. + - **Intelligent Assistant** (formerly Lightspeed) remains enabled by default. If you had explicitly disabled it in your old chart, set `intelligentAssistant.enabled: false`. - **PostgreSQL image** defaults to version 18. If you have an existing data directory, keep the old image (`postgresql.image.tag`) until you plan a PostgreSQL major upgrade. 4. Upgrade the existing release in place with the new chart and migrated values: @@ -317,7 +317,7 @@ These capabilities are new in the `redhat-developer-hub` chart and have no mappi | Old path | New path | Notes | |----------|----------|-------| -| `global.lightspeed.enabled` | `intelligentAssistant.enabled` | Default changed from `false` to `true` | +| `global.lightspeed.enabled` | `intelligentAssistant.enabled` | Renamed | | `global.lightspeed.plugins` | `intelligentAssistant.plugins` | Plugin format changed from OCI to `ref://` | | `global.lightspeed.sidecar.image` | `intelligentAssistant.core.image.*` | Single string split into `registry`/`repository`/`tag` | | `global.lightspeed.sidecar.resources` | `intelligentAssistant.core.resources` | | From f11bb51ba02e2314f9caafea243eec6c3a2749ed Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Tue, 29 Sep 2026 18:47:33 +0200 Subject: [PATCH 20/20] docs: fix NetworkPolicies link anchor in migration guide --- charts/rhdh/docs/migration-from-backstage-chart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/rhdh/docs/migration-from-backstage-chart.md b/charts/rhdh/docs/migration-from-backstage-chart.md index e23b3a3e0..af902a03e 100644 --- a/charts/rhdh/docs/migration-from-backstage-chart.md +++ b/charts/rhdh/docs/migration-from-backstage-chart.md @@ -52,7 +52,7 @@ The new chart requires **Kubernetes 1.31+** (OpenShift 4.18+). If you are runnin ### Network policies -The new chart deploys **default-deny** NetworkPolicies for the RHDH pod and allows only the traffic it knows about (DNS, PostgreSQL, OpenShift ingress/monitoring). If your deployment relies on additional network connectivity (e.g., external APIs, custom sidecars, or cross-namespace services), you must add the corresponding NetworkPolicy rules or the connections will be silently blocked. See [Adding your own NetworkPolicies](../README.md#adding-your-own-networkpolicies) for details. +The new chart deploys **default-deny** NetworkPolicies for the RHDH pod and allows only the traffic it knows about (DNS, PostgreSQL, OpenShift ingress/monitoring). If your deployment relies on additional network connectivity (e.g., external APIs, custom sidecars, or cross-namespace services), you must add the corresponding NetworkPolicy rules or the connections will be silently blocked. See the [NetworkPolicies](../README.md#networkpolicies) section in the README for details. ### Schema validation