57 lines
1.7 KiB
YAML
57 lines
1.7 KiB
YAML
apiVersion: backstage.io/v1alpha1
|
|
kind: Component
|
|
metadata:
|
|
name: demo-app-1-v2
|
|
title: My Application v2 1
|
|
description: Application deployed via Humanitec Platform Orchestrator v2
|
|
annotations:
|
|
# --- Source Control ---
|
|
gitea.kyndemo.live/project-slug: validate/demo-app-1-v2
|
|
gitea.kyndemo.live/repo-slug: validate/demo-app-1-v2
|
|
|
|
# --- Kubernetes plugin: finds pods with label app=<component_id> across namespaces ---
|
|
backstage.io/kubernetes-label-selector: app=demo-app-1-v2
|
|
|
|
# --- TechDocs: builds from docs/ directory in this repo ---
|
|
backstage.io/techdocs-ref: dir:.
|
|
|
|
# --- Humanitec Platform Orchestrator v2 ---
|
|
humanitec.dev/orgId: skillful-wild-chicken-2617
|
|
humanitec.dev/projectId: demo-apps-1
|
|
tags:
|
|
- humanitec-v2
|
|
- platform-orchestrator
|
|
- score
|
|
- azure
|
|
- microservice
|
|
links:
|
|
- url: https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/demo-apps-1/environments/dev
|
|
title: Humanitec Console
|
|
icon: dashboard
|
|
- url: https://gitea.kyndemo.live/validate/demo-app-1-v2
|
|
title: Source Repository
|
|
icon: github
|
|
- url: https://gitea.kyndemo.live/validate/demo-app-1-v2/actions
|
|
title: CI/CD Pipelines
|
|
icon: code
|
|
spec:
|
|
type: service
|
|
lifecycle: experimental
|
|
owner: group:default/platform-engineering
|
|
system: demo-app-1-v2-system
|
|
---
|
|
apiVersion: backstage.io/v1alpha1
|
|
kind: System
|
|
metadata:
|
|
name: demo-app-1-v2-system
|
|
title: My Application v2 1 System
|
|
description: System grouping for My Application v2 1 and its dependencies
|
|
annotations:
|
|
humanitec.dev/orgId: skillful-wild-chicken-2617
|
|
humanitec.dev/projectId: demo-apps-1
|
|
tags:
|
|
- humanitec-v2
|
|
- azure
|
|
spec:
|
|
owner: group:default/platform-engineering
|