Skip to content

Commit 2e3df96

Browse files
VannTenseh
andcommitted
Document sourceValue for replacements.
Co-authored-by: Steven E. Harris <[email protected]>
1 parent cd30471 commit 2e3df96

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 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 literal 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,8 @@ 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+
Alternatively, you can specify a literal string value for the source directly
114+
in the `sourceValue` field.
111115

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

0 commit comments

Comments
 (0)