initial commit
This commit is contained in:
25
temp/catalog-info-url.yaml
Normal file
25
temp/catalog-info-url.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: kubernetes-deployments
|
||||
description: All deployment manifests for our Kubernetes apps
|
||||
links:
|
||||
- url: https://gitea-dev.allarddcs.nl/allard/kubernetes
|
||||
title: Kubernetes Configuration
|
||||
spec:
|
||||
type: service
|
||||
lifecycle: production
|
||||
owner: group:allarddcs
|
||||
system: system:kubernetes
|
||||
---
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Location
|
||||
metadata:
|
||||
name: allarddcs-group
|
||||
description: Location for the Allard DCS group
|
||||
spec:
|
||||
type: url
|
||||
targets:
|
||||
- ./group.yaml # explicit file
|
||||
- ./system.yaml # explicit file
|
||||
- ./dev/ # dir discovery
|
||||
26
temp/catalog-info.old
Normal file
26
temp/catalog-info.old
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: kubernetes-deployments
|
||||
description: All deployment manifests for our Kubernetes apps
|
||||
annotations:
|
||||
backstage.io/techdocs-ref: url:https://gitea-dev.allarddcs.nl/AllardDCS/kubernetes/raw/main/
|
||||
links:
|
||||
- url: https://gitea-dev.allarddcs.nl/allard/kubernetes
|
||||
title: Kubernetes Configuration
|
||||
spec:
|
||||
type: service
|
||||
lifecycle: production
|
||||
owner: group:allarddcs
|
||||
system: system:kubernetes
|
||||
---
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Location
|
||||
metadata:
|
||||
name: allarddcs-locations
|
||||
spec:
|
||||
type: dir
|
||||
targets:
|
||||
- ./group.yaml
|
||||
- ./system.yaml
|
||||
|
||||
58
temp/catalog-info.werkt
Normal file
58
temp/catalog-info.werkt
Normal file
@@ -0,0 +1,58 @@
|
||||
# catalog-info.yaml
|
||||
|
||||
# -----------------------------
|
||||
# Group definition
|
||||
# -----------------------------
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Group
|
||||
metadata:
|
||||
name: allarddcs
|
||||
description: All developers in AllardDCS
|
||||
spec:
|
||||
type: team
|
||||
children: []
|
||||
|
||||
---
|
||||
# -----------------------------
|
||||
# System definition
|
||||
# -----------------------------
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: System
|
||||
metadata:
|
||||
name: kubernetes
|
||||
description: Kubernetes deployment system
|
||||
spec:
|
||||
owner: group:allarddcs
|
||||
|
||||
---
|
||||
# -----------------------------
|
||||
# Component definition
|
||||
# -----------------------------
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: kubernetes-deployments
|
||||
description: All deployment manifests for our Kubernetes apps
|
||||
annotations:
|
||||
# TechDocs URL pointing to the repository root (will render README.md recursively)
|
||||
backstage.io/techdocs-ref: url:https://gitea-dev.allarddcs.nl/AllardDCS/kubernetes/raw/main/
|
||||
links:
|
||||
- url: https://gitea-dev.allarddcs.nl/allard/kubernetes
|
||||
title: Kubernetes Configuration
|
||||
spec:
|
||||
type: service
|
||||
lifecycle: production
|
||||
owner: group:allarddcs
|
||||
system: system:kubernetes
|
||||
|
||||
---
|
||||
# -----------------------------
|
||||
# Location definition
|
||||
# -----------------------------
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Location
|
||||
metadata:
|
||||
name: kubernetes-catalog
|
||||
spec:
|
||||
type: gitea
|
||||
target: https://gitea-dev.allarddcs.nl/AllardDCS/kubernetes
|
||||
44
temp/catalog-info.werktniet
Normal file
44
temp/catalog-info.werktniet
Normal file
@@ -0,0 +1,44 @@
|
||||
# -----------------------------
|
||||
# Group definition
|
||||
# -----------------------------
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Group
|
||||
metadata:
|
||||
name: allarddcs
|
||||
description: All developers in AllardDCS
|
||||
spec:
|
||||
type: team
|
||||
children: []
|
||||
|
||||
---
|
||||
# -----------------------------
|
||||
# System definition
|
||||
# -----------------------------
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: System
|
||||
metadata:
|
||||
name: kubernetes
|
||||
description: Kubernetes deployment system
|
||||
spec:
|
||||
owner: group:allarddcs
|
||||
|
||||
---
|
||||
# -----------------------------
|
||||
# Component definition
|
||||
# -----------------------------
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: kubernetes-deployments
|
||||
description: All deployment manifests for our Kubernetes apps
|
||||
annotations:
|
||||
# TechDocs URL pointing to repo root
|
||||
backstage.io/techdocs-ref: url:https://gitea-dev.allarddcs.nl/AllardDCS/kubernetes/raw/main/
|
||||
links:
|
||||
- url: https://gitea-dev.allarddcs.nl/AllardDCS/kubernetes
|
||||
title: Kubernetes Configuration
|
||||
spec:
|
||||
type: service
|
||||
lifecycle: production
|
||||
owner: group:allarddcs
|
||||
system: system:kubernetes
|
||||
10
temp/catalog-info.yaml
Normal file
10
temp/catalog-info.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: System
|
||||
metadata:
|
||||
name: temp
|
||||
title: Temp System
|
||||
spec:
|
||||
owner: platform-team
|
||||
partOf:
|
||||
- ../catalog-info.yaml
|
||||
subcomponents:
|
||||
14
temp/root-location.yaml
Normal file
14
temp/root-location.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Location
|
||||
metadata:
|
||||
name: allarddcs-root
|
||||
description: Root location for all Backstage entities in this repo
|
||||
spec:
|
||||
type: git
|
||||
target: https://gitea-dev.allarddcs.nl/allard/kubernetes.git
|
||||
options:
|
||||
branch: master
|
||||
targets:
|
||||
- group.yaml
|
||||
- system.yaml
|
||||
- dev/ # recursive discovery of catalog-info.yaml in dev/ and its subfolders
|
||||
Reference in New Issue
Block a user