Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4973 from backstage/timbonicus/add-example-org
Add example org entities to default create-app
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters