badges-backend: drop support for defining badges in app config.

Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
This commit is contained in:
Andreas Stenius
2021-03-02 12:13:10 +01:00
committed by Fredrik Adelöw
parent d80bdf0324
commit 6a68e79217
8 changed files with 33 additions and 155 deletions
-14
View File
@@ -9,20 +9,6 @@ the badges, in svg.
The list of all badges to offer are passed to the badges-backend
`createRouter()`.
You may also add/redefine badges in the `app-config.yaml`, under a
`badges` key. Example:
```yaml
badges:
docs:
kind: 'entity'
target: '_{entity_url}/docs'
label: 'docs'
message: '_{entity.metadata.name}'
color: 'navyblue'
style: for-the-badge
```
## Links
- [Frontend part of the plugin](https://github.com/backstage/backstage/tree/master/plugins/badges)