Merge pull request #2748 from monopole/tweakSequenceTreatment

Tweak sequence treatment in fieldspecs
This commit is contained in:
Jeff Regan
2020-07-22 10:01:21 -07:00
committed by GitHub
11 changed files with 150 additions and 39 deletions

View File

@@ -27,7 +27,7 @@ func (rc Filter) run(node *yaml.RNode) (*yaml.RNode, error) {
FieldSpec: rc.FieldSpec,
SetValue: rc.set,
CreateKind: yaml.ScalarNode, // replicas is a ScalarNode
CreateTag: yaml.IntTag,
CreateTag: yaml.IntTag, // yaml.NodeTagInt
})
return node, err
}