Document sourceValue for replacements.

Co-authored-by: Steven E. Harris <seh@panix.com>
This commit is contained in:
Max Gautier
2025-08-29 10:55:38 +02:00
parent 78ce39820d
commit c52ba638ea

View File

@@ -63,6 +63,7 @@ replacements:
delimiter: string
index: int
create: bool
sourceValue: string
targets:
- select:
group: string
@@ -88,7 +89,8 @@ replacements:
| Field | Required| Description | Default |
| -----------: | :----: | ----------- | ---- |
| `source`| ✔️ | The source of the value |
| `source`| | The source of the value |
| `sourceValue`| | The literal value to use instead of a source |
| `target`| ✔️ | The N fields to write the value to |
| `group` | | The group of the referent |
| `version`| | The version of the referent
@@ -108,6 +110,8 @@ replacements:
The source field is a selector that determines the source of the value by finding a
match to the specified GVKNN. All the subfields of `source` are optional,
but the source selection must resolve to a single resource.
Alternatively, you can specify the desired value directly in the `sourceValue`
field.
#### Targets
Replacements will be applied to all targets that are matched by the `select` field and