-
Notifications
You must be signed in to change notification settings - Fork 233
/
app-config.heroku.yaml
60 lines (55 loc) · 1.5 KB
/
app-config.heroku.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
app:
baseUrl: https://demo.backstage.io
backend:
baseUrl: https://demo.backstage.io
listen:
# Heroku will assign the port dynamically so we want to just pass that in as is
port: ${PORT}
auth:
dangerouslyDisableDefaultAuthPolicy: true
externalAccess:
- type: legacy
options:
secret: ${BACKEND_AUTH_KEY}
subject: legacy-secret
auth:
environment: production
experimentalExtraAllowedOrigins:
- https://pr-+(0|1|2|3|4|5|6|7|8|9)-deployment-+(0|1|2|3|4|5|6|7|8|9)-backstage.app.uffizzi.com
providers:
guest:
userEntityRef: user:default/guest
dangerouslyAllowOutsideDevelopment: true
github:
production:
clientId: ${GITHUB_PRODUCTION_CLIENT_ID}
clientSecret: ${GITHUB_PRODUCTION_CLIENT_SECRET}
techdocs:
sanitizer:
allowedIframeHosts:
- www.youtube.com
builder: 'external'
publisher:
type: 'googleGcs'
googleGcs:
credentials: ${TECHDOCS_GCS_CREDENTIALS}
projectId: ${TECHDOCS_GCS_PROJECT_ID}
bucketName: ${TECHDOCS_GCS_BUCKET}
kubernetes:
serviceLocatorMethod:
type: 'multiTenant'
clusterLocatorMethods:
- type: 'config'
clusters:
- name: demo-cluster
url: ${K8S_URL}
authProvider: 'serviceAccount'
caData: ${K8S_CA_DATA}
serviceAccountToken: ${KUBERNETES_SERVICE_ACCOUNT_TOKEN}
catalog:
providers:
backstage:
enabled: false
schedule:
frequency: { hours: 12 }
timeout: { minutes: 30 }