docs: update docs referencing OwnerPicker and EntityPicker

Signed-off-by: Enrico Alvarenga <enrico.alvarenga@segment.com>
This commit is contained in:
Enrico Alvarenga
2022-12-19 12:53:38 -08:00
parent e4c0240445
commit 1cd1c5cbb0
5 changed files with 46 additions and 18 deletions
@@ -44,8 +44,8 @@ spec:
description: Owner of the component
ui:field: OwnerPicker
ui:options:
allowedKinds:
- Group
catalogFilter:
kind: Group
- title: Choose a location
required:
- repoUrl
@@ -459,7 +459,7 @@ an owner for them. Ideally, users should be able to select an owner when they go
through the scaffolder form from the users and groups already known to
Backstage. The `OwnerPicker` is a custom field that generates a searchable list
of groups and/or users already in the catalog to pick an owner from. You can
specify which of the two kinds are listed in the `allowedKinds` option:
specify which of the two kinds (or both) are listed in the `catalogFilter.kind` option:
```yaml
owner:
@@ -468,8 +468,8 @@ owner:
description: Owner of the component
ui:field: OwnerPicker
ui:options:
allowedKinds:
- Group
catalogFilter:
kind: [Group, User]
```
## `spec.steps` - `Action[]`