apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: artist-service
links:
- url: https://admin.example.com
title: Admin Dashboard
tentacle:
pullRequestLinks:
- url: https://dev.example.com
title: Dev instance
+ - title: Preview
+ url: https://preview-{% $pullrequest.number %}.dev.example.com
+ - title: JIRA {% $pullrequest.jira_prefix %}
+ url: https://jira.company.com/{% $pullrequest.jira_prefix %}
spec:
type: service
lifecycle: production
owner: team-awesome