Merge pull request #5974 from VannTen/docs/sourceValue

Document `sourceValue` for replacements.
This commit is contained in:
Kubernetes Prow Robot
2026-03-17 17:23:39 +05:30
committed by GitHub

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