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
@@ -67,7 +67,8 @@ catalog:
locations:
- type: github
target: https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml
allow: [Template]
rules:
- allow: [Template]
```
Templates can also be added by posting the to the catalog directly. Note that if