janus-idp / helm-backstage

Helm Chart for Deploying Backstage. This repo is deprecated. Please move to https://github.com/redhat-developer/rhdh-chart
https://redhat-developer.github.io/rhdh-chart/
Apache License 2.0
62 stars 54 forks source link

Backstage POD unable to start #122

Closed dbacademy closed 1 year ago

dbacademy commented 1 year ago

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

kadel commented 1 year ago

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 https://github.com/janus-idp/backstage-showcase/pull/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

tumido commented 1 year ago

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