mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-01 18:30:15 +00:00
TemplateProcessor can add custom resource schemas to openapi
This commit is contained in:
@@ -111,7 +111,7 @@ func Execute(p ResourceListProcessor, rlSource *kio.ByteReadWriter) error {
|
||||
rl := ResourceList{}
|
||||
var err error
|
||||
if rl.Items, err = rlSource.Read(); err != nil {
|
||||
return errors.Wrap(err)
|
||||
return errors.WrapPrefixf(err, "failed to read ResourceList input")
|
||||
}
|
||||
rl.FunctionConfig = rlSource.FunctionConfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user