Decomposed entities yaml file
This commit is contained in:
parent
47a4afe011
commit
1a1411afd8
@ -8,4 +8,4 @@ spec:
|
||||
lifecycle: prodiction
|
||||
owner: team-c
|
||||
definition:
|
||||
$text: example.yaml
|
||||
$text: sample-api.yaml
|
@ -5,4 +5,4 @@ metadata:
|
||||
description: A collection of Athena APIs
|
||||
spec:
|
||||
targets:
|
||||
- ../api/api-component.yaml
|
||||
- ./api/main-api.yaml
|
@ -1,12 +0,0 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Location
|
||||
metadata:
|
||||
name: example-all
|
||||
description: A collection of all Backstage example entities, except users, groups, and templates
|
||||
spec:
|
||||
targets:
|
||||
- ./all-apis.yaml
|
||||
- ./all-components.yaml
|
||||
# - ./all-domains.yaml
|
||||
# - ./all-resources.yaml
|
||||
- ./all-systems.yaml
|
@ -3,7 +3,7 @@ kind: Component
|
||||
metadata:
|
||||
name: Athena
|
||||
annotations:
|
||||
backstage.io/techdocs-ref: dir:..
|
||||
backstage.io/techdocs-ref: dir:.
|
||||
spec:
|
||||
type: documentation
|
||||
lifecycle: production
|
@ -1,31 +0,0 @@
|
||||
---
|
||||
# https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: System
|
||||
metadata:
|
||||
name: examples
|
||||
spec:
|
||||
owner: guests
|
||||
---
|
||||
# https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: Athena
|
||||
annotations:
|
||||
backstage.io/techdocs-ref: dir:.
|
||||
spec:
|
||||
type: documentation
|
||||
lifecycle: production
|
||||
owner: guests
|
||||
system: examples
|
||||
providesApis: []
|
||||
---
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Location
|
||||
metadata:
|
||||
name: AthenaAPIs
|
||||
description: A collection of Athena APIs
|
||||
spec:
|
||||
targets:
|
||||
- ./api/api-component.yaml
|
12
main.yaml
Normal file
12
main.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
# https://backstage.io/docs/features/software-catalog/descriptor-format
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Location
|
||||
metadata:
|
||||
name: Infrastructure
|
||||
description: All components of backstage infrastructure for this project
|
||||
spec:
|
||||
targets:
|
||||
- ./apis.yaml
|
||||
- ./components.yaml
|
||||
- ./systems.yaml
|
||||
- ./organizations.yaml
|
Loading…
x
Reference in New Issue
Block a user