forked from backstage/demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-config.yaml
172 lines (154 loc) · 4.52 KB
/
app-config.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
app:
title: Backstage Demo
baseUrl: http://localhost:3000
support:
url: https://github.com/backstage/backstage/issues
items:
- title: Backstage Community
icon: chat
links:
- url: https://backstage.io/docs/overview/support
title: Support and community
- title: Backstage News
icon: docs
links:
- url: https://backstage.io/blog/
title: Backstage Blog
organization:
name: Backstage
backend:
baseUrl: http://localhost:7007
listen:
port: 7007
csp:
connect-src: ["'self'", 'http:', 'https:']
img-src:
[
"'self'",
'data:',
'https://backstage.io',
'https://img.shields.io/',
'https://api.dicebear.com/',
'https://kroki.io/',
'https://bestpractices.coreinfrastructure.org',
'https://api.securityscorecards.dev',
]
frame-src: ['https://www.youtube.com']
cors:
origin: http://localhost:3000
methods: [GET, POST, PUT, DELETE]
credentials: true
database:
client: better-sqlite3
connection: ':memory:'
reading:
allow:
- host: demo.backstage.io
paths:
- /api/graphql/schema
integrations:
github:
- host: github.com
token: ${GITHUB_TOKEN}
auth:
environment: development
providers:
guest:
userEntityRef: user:default/guest
github:
development:
clientId: ${GITHUB_DEVELOPMENT_CLIENT_ID}
clientSecret: ${GITHUB_DEVELOPMENT_CLIENT_SECRET}
catalog:
readonly: true
rules:
- allow: [Component, API, System, Domain, Resource, Location, User, Group]
locations:
# Backstage example components
- type: url
target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all-components.yaml
# Backstage example systems
- type: url
target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all-systems.yaml
# Backstage example APIs
- type: url
target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all-apis.yaml
# Backstage example organization groups
- type: url
target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/acme/org.yaml
# Backstage example domains
- type: url
target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all-domains.yaml
# Backstage example resources
- type: url
target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all-resources.yaml
# The backstage demo deployment (this)
- type: url
target: https://github.com/backstage/demo/blob/master/catalog-info.yaml
# The backstage library repository
- type: url
target: https://github.com/backstage/backstage/blob/master/catalog-info.yaml
# Kubernetes demo component
- type: url
target: https://github.com/mclarke47/dice-roller/blob/master/catalog-info.yaml
# Demo Software Template
- type: file
target: ../../demo-template/template/template.yaml
rules:
- allow: ['Template']
providers:
backstage:
enabled: false
schedule:
frequency: { hours: 12 }
timeout: { minutes: 30 }
costInsights:
engineerCost: 200000
products:
computeEngine:
name: Compute Engine
icon: compute
cloudStorage:
name: Cloud Storage
icon: storage
bigQuery:
name: BigQuery
icon: search
metrics:
DAU:
name: Daily Active Users
default: true
MSC:
name: Monthly Subscribers
techdocs:
sanitizer:
allowedIframeHosts:
- www.youtube.com
builder: 'external'
generator:
runIn: 'local'
publisher:
type: 'local'
kubernetes:
serviceLocatorMethod:
type: 'multiTenant'
clusterLocatorMethods:
- type: 'config'
clusters: []
explore:
tools:
- title: 'Tech Radar'
description: 'Tech Radar is a list of technologies, complemented by an assessment result, called ring assignment.'
url: '/tech-radar'
image: '/tech-radar.png'
tags: ['standards', 'landscape']
- title: 'Cost Insights'
description: 'Insights into cloud costs for your organization.'
url: '/cost-insights'
image: '/google-cloud.png'
tags: ['cloud', 'finops']
- title: 'GraphiQL'
description: 'Integrates GraphiQL as a tool to browse GraphiQL endpoints inside Backstage.'
url: '/graphiql'
image: '/graphiql.png'
tags: ['graphql', 'dev']