Files
apps/catalog-info.yaml

198 lines
6.8 KiB
YAML

# ── Domain Entity ────────────────────────────────────────────────────────────
# Top-level grouping. Other templates (create-microservice, application-renovation-factory)
# use an EntityPicker filtered on kind:Domain to route workloads here.
apiVersion: backstage.io/v1alpha1
kind: Domain
metadata:
name: apps
title: "Apps"
description: apps
tags:
- domain
- aks
- azure
annotations:
gitea.kyndemo.live/repo-slug: "platform/apps"
cjot.io/cluster-status: "ready"
cjot.io/cluster-name: "bstage-cjot-dev-apps-aks"
cjot.io/cluster-resource-group: "bstage-cjot-dev"
cjot.io/cluster-subscription: "1e06e3e6-7ab6-41c9-a29c-dd8f55646b7e"
cjot.io/runner-identity: "cjot-apps-runner-identity"
cjot.io/humanitec-project: "domain-apps"
cjot.io/environments: "dev,staging,prod"
cjot.io/node-vm-size: "Standard_B4ms"
links:
- url: https://gitea.kyndemo.live/platform/apps
title: Domain Repository
icon: github
- url: "https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/domain-apps"
title: Humanitec Console
icon: dashboard
- url: "https://portal.azure.com/#@/resource/subscriptions/1e06e3e6-7ab6-41c9-a29c-dd8f55646b7e/resourceGroups/bstage-cjot-dev/providers/Microsoft.ContainerService/managedClusters/bstage-cjot-dev-apps-aks/overview"
title: AKS in Azure Portal
icon: cloud
spec:
owner: group:default/platform-lead
---
# ── System Entity ───────────────────────────────────────────────────────────
# Groups all workload Components deployed into this domain's cluster.
# Scaffolder templates set spec.system on new Components to this value.
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: apps
title: "Apps Workloads"
description: >
Workloads deployed to the apps domain cluster
(bstage-cjot-dev-apps-aks).
tags:
- domain-workloads
- aks
annotations:
backstage.io/kubernetes-label-selector: "app.kubernetes.io/part-of=apps"
cjot.io/humanitec-project: "domain-apps"
spec:
owner: group:default/platform-lead
domain: apps
---
# ── AKS Cluster Resource ───────────────────────────────────────────────────
# Represents the physical AKS cluster. Templates can filter on
# kind:Resource, spec.type:kubernetes-cluster to find available clusters.
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: apps-aks
title: "Apps AKS Cluster"
description: >
Dedicated AKS cluster for the apps domain
(Standard_B4ms, 1-4 nodes).
tags:
- azure
- aks
- kubernetes
- domain-cluster
annotations:
cjot.io/cluster-name: "bstage-cjot-dev-apps-aks"
cjot.io/cluster-resource-group: "bstage-cjot-dev"
cjot.io/cluster-subscription: "1e06e3e6-7ab6-41c9-a29c-dd8f55646b7e"
cjot.io/runner-identity: "cjot-apps-runner-identity"
cjot.io/humanitec-project: "domain-apps"
cjot.io/node-vm-size: "Standard_B4ms"
cjot.io/node-count-min: "1"
cjot.io/node-count-max: "4"
cjot.io/environments: "dev,staging,prod"
backstage.io/kubernetes-cluster: "bstage-cjot-dev-apps-aks"
links:
- url: "https://portal.azure.com/#@/resource/subscriptions/1e06e3e6-7ab6-41c9-a29c-dd8f55646b7e/resourceGroups/bstage-cjot-dev/providers/Microsoft.ContainerService/managedClusters/bstage-cjot-dev-apps-aks/overview"
title: Azure Portal
icon: cloud
- url: "https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/domain-apps"
title: Humanitec Console
icon: dashboard
spec:
type: kubernetes-cluster
owner: group:default/platform-lead
system: apps
dependsOn:
- resource:default/cjot-acr
---
# ── System: test-alex ─────────────────────────────────────────
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: test-alex
title: "Test Alex"
description: >
test-alex system
tags:
- system
- domain-workloads
annotations:
backstage.io/kubernetes-label-selector: "app.kubernetes.io/part-of=test-alex"
cjot.io/humanitec-project: "test-alex"
cjot.io/environments: "dev,staging,prod"
cjot.io/domain: "apps"
spec:
owner: group:default/platform-lead
domain: apps
---
# ── System: crucible ─────────────────────────────────────────
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: crucible
title: "Crucible"
description: >
Project Crucible
tags:
- system
- domain-workloads
annotations:
backstage.io/kubernetes-label-selector: "app.kubernetes.io/part-of=crucible"
cjot.io/humanitec-project: "crucible"
cjot.io/environments: "dev,staging,prod"
cjot.io/domain: "apps"
spec:
owner: group:default/platform-lead
domain: apps
---
# ── System: test-alex ─────────────────────────────────────────
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: test-alex
title: "Test Alex"
description: >
test-alex
tags:
- system
- domain-workloads
annotations:
backstage.io/kubernetes-label-selector: "app.kubernetes.io/part-of=test-alex"
cjot.io/humanitec-project: "test-alex"
cjot.io/environments: "dev,staging,prod"
cjot.io/domain: "apps"
spec:
owner: group:default/platform-lead
domain: apps
---
# ── System: alex ─────────────────────────────────────────
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: alex
title: "Alex"
description: >
alex system
tags:
- system
- domain-workloads
annotations:
backstage.io/kubernetes-label-selector: "app.kubernetes.io/part-of=alex"
cjot.io/humanitec-project: "alex"
cjot.io/environments: "alex-dev,alex-staging,alex-prod"
cjot.io/domain: "apps"
spec:
owner: group:default/platform-lead
domain: apps
---
# ── System: kpc ─────────────────────────────────────────
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: kpc
title: "Kpc"
description: >
Kyndryl Private Cloud
tags:
- system
- domain-workloads
annotations:
backstage.io/kubernetes-label-selector: "app.kubernetes.io/part-of=kpc"
cjot.io/humanitec-project: "kpc"
cjot.io/environments: "kpc-dev,kpc-staging,kpc-prod"
cjot.io/domain: "apps"
spec:
owner: group:default/platform-lead
domain: apps