mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
- When merging (3way) resources use the patch strategy from the openAPI if the definition exists for the field - Allow disabling of guessing patch strategy merge keys when no definition exists - Support defining strategy and key directly on configuration fields through line and header coments - Support attaching schema to parent fields of lists, and propagating -- e.g. that a field is a PodTemplate
12 lines
283 B
Go
12 lines
283 B
Go
// Copyright 2019 The Kubernetes Authors.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package walk
|
|
|
|
import "sigs.k8s.io/kustomize/kyaml/yaml"
|
|
|
|
// walkScalar returns the value of VisitScalar
|
|
func (l Walker) walkScalar() (*yaml.RNode, error) {
|
|
return l.VisitScalar(l.Sources, l.Schema)
|
|
}
|