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

Backstage POD unable to start

dbacademy opened this issue · comments

Describe the bug

Backstage POD unable to start, following error after installing helm chart from the openshift developer console

Backend failed to start up Error: Missing required config value at 'backend.auth.keys[0].secret'

A clear and concise description of what the bug is. (provide screenshots if applicable)

Expected Behavior

What are the steps to reproduce this bug?

Versions of software used and environment

There are currently issues with the latest Janus image. If you are using quay.io/janus-idp/backstage-showcase:latest image, you might face this issue.
It should get fixed once this PR is merged janus-idp/backstage-showcase#590

The quick and dirty fix is to use nightly builds. You can do something like this helm upgrade -i janus janus-idp/backstage --set upstream.backstage.image.tag=nightly-20231010

Janus enables Service to Service Auth by default. For this to function, secret needs to be configured, or it will be automatically generated which should be only used for development.
YOu should add secret to values.yaml or provide it using helm cli --set "upstream.backstage.appConfig.backend.auth.keys[0].secret=secret-value

Hi @dbacademy, this should be resolved now. We've updated the default image.