janus-idp / helm-backstage

Helm Chart for Deploying Backstage. This repo is deprecated. Please move to https://github.com/redhat-developer/rhdh-chart

Home Page:https://redhat-developer.github.io/rhdh-chart/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to upgrade configuration when deployed from OpenShift web console

kadel opened this issue · comments

Describe the bug

When trying to upgrade RHDH deployment configuration done via Helm Chart in OpenShift console, it fails with

Backend failed to start up Error: Missing required config value at 'backend.database.client'

What are the steps to reproduce this bug?

rhdh-helm-upgrade-fail.mp4

Versions of software used and environment

using 1.0-163-CI from https://gist.github.com/nickboldt/a8483eb244f9c4286798e85accaa70af

Got the same issue with the 1.0-187-CI chart on OCP v4.14.3.

It seems the upstream.backstage.command field gets overwritten to ["node", "packages/backend"] (default should be []) after using the front view to configure the values, which seems to override the entrypoint and arguments of the image. Changing it back to [] fixes the issue, and allows the image app configurations to be loaded.
image

This is really funny, Just opening and closing the form view, changes values.. And expanding sections does that again.. 😄

Kapture.2023-11-22.at.18.25.49.mp4