Merge pull request #4973 from backstage/timbonicus/add-example-org

Add example org entities to default create-app
This commit is contained in:
Fredrik Adelöw
2021-03-17 23:40:52 +01:00
committed by GitHub
2 changed files with 28 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
---
'@backstage/create-app': patch
---
Adds example groups and users to the default app template.
To apply this change in an existing application, change the following in `app-config.yaml`:
```diff
- type: url
target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all-apis.yaml
+ # Backstage example organization groups
+ - type: url
+ target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/acme/org.yaml
+ rules:
+ - allow: [Group, User]
+
# Backstage example templates
- type: url
target: https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml
```
@@ -89,6 +89,12 @@ catalog:
- type: url
target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all-apis.yaml
# Backstage example organization groups
- type: url
target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/acme/org.yaml
rules:
- allow: [Group, User]
# Backstage example templates
- type: url
target: https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml