kyaml setters: support full and partial field replacement

This commit is contained in:
Phillip Wittrock
2020-01-02 14:00:43 -08:00
parent 3577a7e174
commit ac9b0a3e9e
6 changed files with 76 additions and 34 deletions

View File

@@ -30,7 +30,7 @@ type PerformSetters struct {
func (s *PerformSetters) Filter(input []*yaml.RNode) ([]*yaml.RNode, error) {
for i := range input {
p := &partialFieldSetter{
p := &fieldSetter{
Name: s.Name,
Value: s.Value,
Description: s.Description,