Skip to content

Instantly share code, notes, and snippets.

@goenning
Last active April 6, 2022 09:51
Show Gist options
  • Save goenning/cb9ff0099a76f2a1b8054b3b951a1c47 to your computer and use it in GitHub Desktop.
Save goenning/cb9ff0099a76f2a1b8054b3b951a1c47 to your computer and use it in GitHub Desktop.
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: acme-corp
spec:
type: organization
children: [team-a]
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: team-a
description: Team A
spec:
type: team
parent: acme-corp
children: [team-a-developers]
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: team-a-developers
description: Team A Developers
spec:
type: team
parent: team-a
children: []
---
apiVersion: backstage.io/v1alpha1
kind: User
metadata:
name: jon.snow
spec:
memberOf: [team-a-developers]
---
apiVersion: backstage.io/v1alpha1
kind: User
metadata:
name: arya.stark
spec:
memberOf: [team-a]
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: component-a
spec:
type: service
lifecycle: experimental
owner: group:team-a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment