Merge pull request #2208 from spotify/rugvip/rules

catalog-backend: wrap location-specific rules in an additional rules field
This commit is contained in:
Patrik Oldsberg
2020-09-01 15:10:02 +02:00
committed by GitHub
5 changed files with 32 additions and 24 deletions
@@ -69,16 +69,21 @@ catalog:
# Backstage example templates
- type: github
target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml
allow: [Template]
rules:
- allow: [Template]
- type: github
target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/template.yaml
allow: [Template]
rules:
- allow: [Template]
- type: github
target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/create-react-app/template.yaml
allow: [Template]
rules:
- allow: [Template]
- type: github
target: https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml
allow: [Template]
rules:
- allow: [Template]
- type: github
target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/docs-template/template.yaml
allow: [Template]
rules:
- allow: [Template]