diff --git a/pkg/kube/client.go b/pkg/kube/client.go index e4c6b6a9f..926174ef1 100644 --- a/pkg/kube/client.go +++ b/pkg/kube/client.go @@ -139,6 +139,7 @@ func (c *Client) BuildUnstructured(namespace string, reader io.Reader) (Result, NamespaceParam(namespace). DefaultNamespace(). Stream(reader, ""). + Schema(c.validator()). Flatten(). Do().Infos() return result, scrubValidationError(err)