From c52ba638eaa7324db970866d083b1e55f00416a6 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Fri, 29 Aug 2025 10:55:38 +0200 Subject: [PATCH] Document `sourceValue` for replacements. Co-authored-by: Steven E. Harris --- .../docs/Reference/API/Kustomization File/replacements.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/site/content/en/docs/Reference/API/Kustomization File/replacements.md b/site/content/en/docs/Reference/API/Kustomization File/replacements.md index bd51f2fcf..2d0df9ae0 100644 --- a/site/content/en/docs/Reference/API/Kustomization File/replacements.md +++ b/site/content/en/docs/Reference/API/Kustomization File/replacements.md @@ -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