From b831efdf5853dceb0249eaf441024d115b5cb633 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Fri, 11 May 2018 12:12:42 -0700 Subject: [PATCH] fix(kube): run schema validation on BuildUnstructured --- pkg/kube/client.go | 1 + 1 file changed, 1 insertion(+) 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)