Skip to content

Commit 0bff698

Browse files
committed
Document sourceValue for replacements.
1 parent cd30471 commit 0bff698

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/content/en/docs/Reference/API/Kustomization File/replacements.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ replacements:
6363
delimiter: string
6464
index: int
6565
create: bool
66+
sourceValue: string
6667
targets:
6768
- select:
6869
group: string
@@ -88,7 +89,8 @@ replacements:
8889

8990
| Field | Required| Description | Default |
9091
| -----------: | :----: | ----------- | ---- |
91-
| `source`| ✔️ | The source of the value |
92+
| `source`| | The source of the value |
93+
| `sourceValue`| | The litteral value to use as source |
9294
| `target`| ✔️ | The N fields to write the value to |
9395
| `group` | | The group of the referent |
9496
| `version`| | The version of the referent
@@ -108,6 +110,7 @@ replacements:
108110
The source field is a selector that determines the source of the value by finding a
109111
match to the specified GVKNN. All the subfields of `source` are optional,
110112
but the source selection must resolve to a single resource.
113+
The source can also be specified directly as a string using `sourceValue`.
111114

112115
#### Targets
113116
Replacements will be applied to all targets that are matched by the `select` field and

0 commit comments

Comments
 (0)