forked from vfarcic/backstage-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-config.yaml
79 lines (79 loc) · 1.79 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
app:
title: DevOps Toolkit Backstage App
baseUrl: http://localhost:3000
organization:
name: DevOps Toolkit
backend:
baseUrl: http://localhost:7007
listen:
port: 7007
csp:
connect-src: ["'self'", 'http:', 'https:']
upgrade-insecure-requests: false
cors:
origin: http://localhost:3000
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
database:
client: better-sqlite3
connection: ':memory:'
integrations:
github:
- host: github.com
token: ${GITHUB_TOKEN}
proxy:
techdocs:
builder: 'local'
generator:
runIn: 'docker'
publisher:
type: 'local'
auth:
providers:
guest: {}
scaffolder:
catalog:
import:
entityFilename: catalog-info.yaml
pullRequestBranchName: backstage-integration
rules:
- allow: [Component, System, API, Resource, Location, Template]
locations:
- type: file
target: ../../examples/entities.yaml
- type: file
target: ../../examples/template/template.yaml
rules:
- allow: [Template]
- type: file
target: ../../examples/org.yaml
rules:
- allow: [User, Group]
providers:
github:
catalogInfo:
organization: ${GITHUB_USER}
catalogPath: /catalog-info.yaml
filters:
branch: main
repository: backstage-demo
schedule:
frequency: {minutes: 30}
timeout: {minutes: 3}
templates:
organization: ${GITHUB_USER}
catalogPath: /backstage-template.yaml
filters:
branch: main
repository: backstage-demo
schedule:
frequency: {minutes: 30}
timeout: {minutes: 3}
kubernetes:
serviceLocatorMethod:
type: 'multiTenant'
clusterLocatorMethods:
- type: 'config'
clusters: []
permission:
enabled: true