Add a <EntityPicker> field to the scaffolder

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
Oliver Sand
2021-05-19 17:33:04 +02:00
parent b5ef4cc693
commit 1157fa3075
8 changed files with 258 additions and 4 deletions
@@ -29,6 +29,16 @@ spec:
ui:options:
allowedKinds:
- Group
system:
title: System
type: string
description: System of the component
ui:field: EntityPicker
ui:options:
allowedKinds:
- System
defaultKind: System
- title: Choose a location
required:
- repoUrl
@@ -7,3 +7,6 @@ spec:
type: website
lifecycle: experimental
owner: {{cookiecutter.owner | jsonify}}
{%- if cookiecutter.backstage_system != "" %}
system: {{ cookiecutter.system | jsonify }}
{%- endif %}