Make demo data configurable and add more docs

This commit is contained in:
Martina Iglesias Fernandez
2020-10-05 17:29:33 +02:00
parent 024b8bceee
commit 4851528f2e
3 changed files with 23 additions and 0 deletions
+18
View File
@@ -35,6 +35,8 @@ backstage-ingress * 34.77.171.192 80 17m
## Customization
### Custom PostgreSQL instance
Configuring a connection to an existing PostgreSQL instance is possible through the chart's values.
First create a yaml file with the configuration you want to override, for example `backstage-prod.yaml`:
@@ -82,6 +84,22 @@ cd contrib/chart/backstage
helm install -f backstage-prod.yaml my-backstage .
```
### Different namespace
To install the charts a specific namespace use `--namespace <ns>`:
```
helm install -f my_values.yaml --namespace demos backstage .
```
### Disable loading of demo data
To deploy backstage with the pre-loaded demo data disable `backend.demoData`:
```
helm install -f my_values.yaml --set backend.demoData=false backstage .
```
## Troubleshooting
#### Unable to verify signature
@@ -16,6 +16,7 @@ backend:
ca: {{ include "backstage.backend.postgresCaFilename" . | quote }}
catalog:
{{- if .Values.backend.demoData }}
locations:
# Backstage example components
- type: github
@@ -32,6 +33,9 @@ catalog:
# Backstage example templates
- type: github
target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/all-templates.yaml
{{- else }}
locations: []
{{- end }}
sentry:
organization: {{ .Values.appConfig.sentry.organization | quote }}
+1
View File
@@ -19,6 +19,7 @@ frontend:
backend:
enabled: true
nodeEnv: development
demoData: true
replicaCount: 1
image:
repository: martinaif/backstage-k8s-demo-backend