Open bainss opened 2 years ago
techdocs:
Can you remove the 2 chars in front of each category (app, backend, catalog, techdocs) within the config file please ?
I dont have any issue when I pass the config file as configmap
to backstage
Example of config file
DOMAIN_NAME="<VM_IP>.sslip.io"
cat <<EOF > $(pwd)/app-config.extra.yaml
app:
baseUrl: http://backstage.$DOMAIN_NAME
title: Backstage
backend:
baseUrl: http://backstage.$DOMAIN_NAME
cors:
origin: http://backstage.$DOMAIN_NAME
methods: [GET, POST, PUT, DELETE]
credentials: true
csp:
connect-src: ['self','http:','https:']
database:
client: better-sqlite3
connection: ':memory:'
cache:
store: memory
techdocs:
builder: 'local'
generator:
runIn: 'local'
publisher:
type: 'local'
catalog:
locations:
- type: url
target: https://github.com/mclarke47/dice-roller/blob/master/catalog-info.yaml
EOF
that the helm will use as such
cat <<EOF > $(pwd)/my-values.yml
backstage:
extraAppConfig:
- filename: app-config.extra.yaml
configMapRef: my-app-config
EOF
during deployment
and deploy it
```bash
helm upgrade --install \
my-backstage \
backstage \
--repo https://vinzscam.github.io/backstage-chart \
-f $(pwd)/my-values.yml \
--create-namespace \
-n backstage
Hi
I'm using the following Dockerfile.
with app-config.yaml as follows