Skip to content

Commit fb1bbb9

Browse files
committed
fix(catalog): add local catalog file locations for entity discovery
Add local file locations to catalog configuration to enable automatic discovery of local entities (catalog-info.yaml and examples/entities.yaml). This ensures CI/CD, APIs, and Dependencies data are loaded into the catalog. Without these local file locations, entities must be manually registered via the Backstage UI, which explains why data appeared in backup but not in main.
1 parent cd4e0ff commit fb1bbb9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

app-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,17 @@ catalog:
311311
rules:
312312
- allow: [Template]
313313

314+
# Local catalog entities
315+
- type: file
316+
target: ../../catalog-info.yaml
317+
rules:
318+
- allow: [Component, System, API, Group, User, Resource, Location]
319+
320+
- type: file
321+
target: ../../examples/entities.yaml
322+
rules:
323+
- allow: [Component, System, API, Group, User, Resource]
324+
314325
# kubernetes:
315326
# see https://backstage.io/docs/features/kubernetes/configuration for kubernetes configuration options
316327
# see https://backstage.io/docs/permissions/getting-started for more on the permission framework

0 commit comments

Comments
 (0)