catalog-backend: type changeset
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': minor
|
||||
---
|
||||
|
||||
Add support for specifying an entity `type` in `catalog.rules.allow` rules within the catalog configuration.
|
||||
|
||||
For example, this enables allowing all `Template` entities with the type `website`:
|
||||
|
||||
```diff
|
||||
catalog:
|
||||
rules:
|
||||
- allow:
|
||||
- Component
|
||||
- API
|
||||
- Resource
|
||||
- System
|
||||
- Domain
|
||||
- Location
|
||||
+ - allow:
|
||||
+ - kind: Template
|
||||
+ type: website
|
||||
locations:
|
||||
- type: url
|
||||
pattern: https://github.com/org/*\/blob/master/*.yaml
|
||||
```
|
||||
Reference in New Issue
Block a user