initial commit
Change-Id: Ifa771d6671144d99e55f073fd3e35327ab66bcbc
This commit is contained in:
97
catalog-info.yaml
Normal file
97
catalog-info.yaml
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
# ── 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: Applications - demos, services, any apps
|
||||||
|
tags:
|
||||||
|
- domain
|
||||||
|
- aks
|
||||||
|
- azure
|
||||||
|
annotations:
|
||||||
|
gitea.kyndemo.live/repo-slug: "platform/apps"
|
||||||
|
cjot.io/cluster-status: "provisioning"
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user