-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcatalog-info.yaml
49 lines (49 loc) · 1.68 KB
/
catalog-info.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
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: ${{ values.name }}-app
# title: Wayfinder Application
description: Application created from the backstage software template
labels: {}
annotations:
backstage.io/source-location: url:https://${{values.repo.host + "/" + values.repo.owner + "/" + values.repo.repo}}
github.com/project-slug: ${{values.repo.owner + "/" + values.repo.repo}}
wayfinder/workspace: ${{ values.workspaceKey }}
wayfinder/app-name: ${{ values.name }}
wayfinder/app-component-name: ${{ values.name }}-app
tags:
- wayfinder
links:
- url: https://${{values.repo.host + "/" + values.repo.owner + "/" + values.repo.repo}}
title: GitHub Repository
type: Code
spec:
type: service
owner: ${{ values.owner }}
lifecycle: experimental
dependsOn:
- resource:default/${{ values.name }}-mysql
---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: ${{ values.name }}-mysql
# title: Wayfinder Application DB
description: AWS RDS MySQL Database used by the Wayfinder Application
labels: {}
annotations:
backstage.io/source-location: url:https://${{values.repo.host + "/" + values.repo.owner + "/" + values.repo.repo}}
github.com/project-slug: ${{values.repo.owner + "/" + values.repo.repo}}
wayfinder/workspace: ${{ values.workspaceKey }}
wayfinder/app-name: ${{ values.name }}
wayfinder/app-component-name: ${{ values.name }}-mysql
tags:
- wayfinder
links:
- url: https://${{values.repo.host + "/" + values.repo.owner + "/" + values.repo.repo}}
title: GitHub Repository
type: Code
spec:
type: database
owner: ${{ values.owner }}
lifecycle: experimental