We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3bf49d commit 6446f3fCopy full SHA for 6446f3f
pkg/patterns/declarative/pkg/applier/direct.go
@@ -45,6 +45,14 @@ func (d *DirectApplier) Apply(ctx context.Context,
45
RESTConfig: restConfig,
46
}
47
b := resource.NewBuilder(restClientGetter)
48
+
49
+ if validate {
50
+ v, err := cmdutil.NewFactory(&genericclioptions.ConfigFlags{}).Validator(true)
51
+ if err != nil {
52
+ return err
53
+ }
54
+ b.Schema(v)
55
56
res := b.Unstructured().Stream(ioReader, "manifestString").Do()
57
infos, err := res.Infos()
58
if err != nil {
0 commit comments