Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Unable to upgrade configuration when deployed from OpenShift web console #151

Closed
kadel opened this issue Nov 17, 2023 · 2 comments · Fixed by #154
Closed

Unable to upgrade configuration when deployed from OpenShift web console #151

kadel opened this issue Nov 17, 2023 · 2 comments · Fixed by #154
Assignees

Comments

@kadel
Copy link
Member

kadel commented Nov 17, 2023

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

@kadel kadel changed the title Unable to upgrade when deployed from OpenShift web console Unable to upgrade configuration when deployed from OpenShift web console Nov 17, 2023
@Zaperex
Copy link
Member

Zaperex commented Nov 21, 2023

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

@kadel kadel added the post-FF label Nov 22, 2023
@tumido
Copy link
Member

tumido commented Nov 22, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants