-
Notifications
You must be signed in to change notification settings - Fork 346
Expand file tree
/
Copy pathapp-config.yaml
More file actions
255 lines (234 loc) · 7.36 KB
/
app-config.yaml
File metadata and controls
255 lines (234 loc) · 7.36 KB
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
app:
title: Backstage Demo
baseUrl: http://localhost:3000
# Automatically discover and load all installed Backstage frontend packages
packages: all
extensions:
# Disable the built-in NavItemBlueprint so the catalog page's CategoryIcon
# is used instead (the built-in nav item uses HomeIcon which takes priority)
- nav-item:catalog: false
- catalog-filter:catalog/list:
config:
# Replaces initiallySelectedFilter="all" from the legacy CatalogIndexPage
initialFilter: all
# TODO(awanlin): initiallySelectedNamespaces={['default']} has no equivalent
# config in catalog-filter:catalog/namespace yet (configInput is empty).
- entity-card:catalog/about:
config:
type: info
- entity-card:catalog-graph/relations:
config:
type: content
filter:
$not: { kind: { $in: [Group, User] } }
- entity-card:org/ownership:
config:
type: content
filter: { kind: { $in: [Group, User] } }
- entity-card:api-docs/provided-apis:
config:
filter: { spec.providesApis: { $exists: true } }
- entity-card:api-docs/consumed-apis:
config:
filter: { spec.consumesApis: { $exists: true } }
- entity-card:catalog/depends-on-components:
config:
filter: { spec.dependsOn: { $exists: true } }
- entity-card:catalog/depends-on-resources:
config:
filter: { spec.dependsOn: { $exists: true } }
# TODO(awanlin): entity-content:catalog/dependencies does not exist in NFS yet.
# The legacy EntityDependenciesPage (Dependencies tab) has no equivalent entity-content
# extension in @backstage/plugin-catalog/alpha. Track upstream:
# https://github.com/backstage/backstage/issues
- entity-content:techdocs:
config:
title: Docs
# TODO(awanlin): entity-card:catalog/has-subcomponents cannot be filtered via
# config — subcomponents declare spec.subcomponentOf on themselves, so the
# parent entity has no spec field to filter against. Requires a code-based filter.
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://www.bestpractices.dev/',
'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
actions:
pluginSources:
- 'auth'
- 'catalog'
- 'scaffolder'
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: url
target: https://github.com/backstage/demo/blob/master/demo-template/template/template.yaml
rules:
- allow: [Template]
providers:
backstageOpenapi:
plugins:
- catalog
- scaffolder
- search
github:
backstageRepo:
organization: 'backstage'
catalogPath: '**/catalog-info.yaml'
filters:
repository: 'backstage'
schedule:
frequency: { days: 1 }
timeout: { minutes: 5 }
communityPluginsRepo:
organization: 'backstage'
catalogPath: '**/catalog-info.yaml'
filters:
repository: 'community-plugins'
schedule:
frequency: { days: 1 }
timeout: { minutes: 5 }
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']
notificationsTester:
enabled: true
events:
http:
topics:
- github
modules:
github:
webhookSecret: ${GITHUB_WEBHOOK_SECRET}
mcpActions:
name: 'Backstage Demo MCP Server'
description: 'Tools for interacting with the Backstage Demo MCP Server'