mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Add static value source for replacement
Introduces `sourceValue` on replacement object for replacing from a static value instead of sourcing from another object. Solves #5516
This commit is contained in:
committed by
Ramon Cuñat
parent
cc9dd34216
commit
6c27970019
@@ -20,6 +20,9 @@ type Replacement struct {
|
||||
|
||||
// The N fields to write the value to.
|
||||
Targets []*TargetSelector `json:"targets,omitempty" yaml:"targets,omitempty"`
|
||||
|
||||
// Used to define an static value
|
||||
SourceValue *string `json:"sourceValue,omitempty" yaml:"sourceValue,omitempty"`
|
||||
}
|
||||
|
||||
// SourceSelector is the source of the replacement transformer.
|
||||
|
||||
Reference in New Issue
Block a user