Closed gorkem closed 1 year ago
was it deployed with the helm chart?
was it deployed with the helm chart?
I don't think that's possible with the default values, helm chart defaults to deploying with PostgreSQL now.
This is not with the Helm chart but deployed the image locally. The error is probably due to the image build failing to package things correctly. I expected the image to work regardless of local or helm deployment. If we are deliberately not supporting the SQLite with the image we can close this one.
Hi @gorkem, when I tried deploying it on a minikube cluster, the pods run properly and when I check the logs the backend appears to have started properly without the error above. However, I am getting a separate error defined in this issue. I worked around this issue by defining SONARQUBE_URL
when I ran the image, and it worked with no issues afterwards.
I noticed that the better-sqlite3
dependency is already included in the backend package.json
after running yarn build --filter=backend
, so this issue might no longer be relevant?
The process I followed was to build using the current latest Dockerfile (for 1.15.0), uploading the image to quay.io with the default configurations from app-config.example.yaml
and setting the database for app-config.production.example.yaml
to a sqlite3
database:
- database:
- client: pg
- connection:
- host: ${POSTGRES_HOST}
- password: ${POSTGRES_PASSWORD}
- port: ${POSTGRES_PORT}
- user: ${POSTGRES_USER}
+ database:
+ client: better-sqlite3
+ connection: ':memory:'
I then ran the following deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
name: backstage-showcase-deployment
labels:
app: backstage-showcase
spec:
replicas: 1
selector:
matchLabels:
app: backstage-showcase
template:
metadata:
labels:
app: backstage-showcase
spec:
containers:
- name: backstage-showcase
image: quay.io/rh-ee-frkong/backstage-testing:latest
ports:
- containerPort: 7007
Could you perhaps provide a more detailed reproduction process? Such as what configurations you had?
It is possible that the image I was using aat the time had the issue. I am closing this one.
What happened?
Deployment failed with the following error
What are the steps to reproduce this issue?
Deployment with SQLite backend to a Kubernetes namespace