catalog-info.yaml aktualisiert
This commit is contained in:
parent
875e015b3a
commit
bf45b71239
|
|
@ -1,97 +1,34 @@
|
||||||
apiVersion: backstage.io/v1alpha1
|
apiVersion: backstage.io/v1alpha1
|
||||||
kind: System
|
|
||||||
metadata:
|
|
||||||
name: lars-home-lab
|
|
||||||
description: Das digitale Rückgrat - Alle Systeme und Automatisierungen
|
|
||||||
spec:
|
|
||||||
owner: group:admins # Das System gehört jetzt dem Admin-Team
|
|
||||||
---
|
|
||||||
# Die Hardware: Dein Synology NAS
|
|
||||||
apiVersion: backstage.io/v1alpha1
|
|
||||||
kind: Resource
|
|
||||||
metadata:
|
|
||||||
name: synology-nas
|
|
||||||
description: Hauptserver für Backstage, MariaDB und Datei-Storage
|
|
||||||
links:
|
|
||||||
- title: DSM Dashboard
|
|
||||||
url: http://192.168.2.63:5000
|
|
||||||
spec:
|
|
||||||
type: hardware
|
|
||||||
owner: user:lars
|
|
||||||
---
|
|
||||||
# Die Hardware: Dein Raspberry Pi 5
|
|
||||||
apiVersion: backstage.io/v1alpha1
|
|
||||||
kind: Resource
|
|
||||||
metadata:
|
|
||||||
name: raspberry-pi-5
|
|
||||||
description: Host für n8n Automatisierungen (User lars)
|
|
||||||
spec:
|
|
||||||
type: hardware
|
|
||||||
owner: user:lars
|
|
||||||
---
|
|
||||||
# Die Anwendung: n8n
|
|
||||||
apiVersion: backstage.io/v1alpha1
|
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: n8n-automation
|
name: n8n-automation
|
||||||
description: Workflow-Engine für alle Smart-Home-Prozesse
|
description: Automation Tool
|
||||||
links:
|
|
||||||
- title: n8n Interface
|
|
||||||
url: http://192.168.2.144:5678 # IP deines Pi 5 ergänzt
|
|
||||||
spec:
|
spec:
|
||||||
type: service
|
type: service
|
||||||
lifecycle: production
|
lifecycle: experimental
|
||||||
owner: user:lars
|
owner: guest
|
||||||
system: lars-home-lab
|
# WICHTIG: Die Liste muss exakt so aussehen:
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- resource: raspberry-pi-5
|
- component:default/mariadb-storage
|
||||||
- component: mariadb-storage
|
|
||||||
---
|
---
|
||||||
# Die Datenbank: MariaDB
|
|
||||||
apiVersion: backstage.io/v1alpha1
|
apiVersion: backstage.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: mariadb-storage
|
name: mariadb-storage
|
||||||
description: Zentrale Datenbank auf dem NAS für n8n und andere Dienste
|
|
||||||
spec:
|
spec:
|
||||||
type: database
|
type: database
|
||||||
lifecycle: production
|
lifecycle: experimental
|
||||||
owner: user:lars
|
owner: guest
|
||||||
system: lars-home-lab
|
|
||||||
dependsOn:
|
|
||||||
- resource: synology-nas
|
|
||||||
---
|
---
|
||||||
# Das Portal selbst: Backstage
|
|
||||||
apiVersion: backstage.io/v1alpha1
|
apiVersion: backstage.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: backstage-portal
|
name: backstage-portal
|
||||||
description: Diese Instanz zur Verwaltung des Home-Labs
|
|
||||||
spec:
|
spec:
|
||||||
type: service
|
type: website
|
||||||
lifecycle: development
|
lifecycle: experimental
|
||||||
owner: group:admins
|
owner: guest
|
||||||
system: lars-home-lab
|
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- resource: synology-nas
|
- component:default/mariadb-storage
|
||||||
---
|
|
||||||
# NEU: Dein Benutzerprofil
|
|
||||||
apiVersion: backstage.io/v1alpha1
|
|
||||||
kind: User
|
|
||||||
metadata:
|
|
||||||
name: lars # WICHTIG: Muss exakt dein Gitea-Benutzername sein
|
|
||||||
spec:
|
|
||||||
profile:
|
|
||||||
displayName: Lars
|
|
||||||
email: lars@home.local # Kannst du anpassen
|
|
||||||
memberOf: [admins]
|
|
||||||
---
|
|
||||||
# NEU: Das Admin-Team
|
|
||||||
apiVersion: backstage.io/v1alpha1
|
|
||||||
kind: Group
|
|
||||||
metadata:
|
|
||||||
name: admins
|
|
||||||
description: Das Team mit vollen Zugriffsrechten
|
|
||||||
spec:
|
|
||||||
type: team
|
|
||||||
children: []
|
|
||||||
Loading…
Reference in New Issue
Block a user