Merge pull request #5630 from cunyat/feat/5516-replacement-inline-value

Add static value source for replacement
This commit is contained in:
Kubernetes Prow Robot
2025-03-28 05:54:40 -07:00
committed by GitHub
3 changed files with 75 additions and 1 deletions

View File

@@ -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.