From 67e9b97f6375b2e68d6e520477efa2d7d65a4621 Mon Sep 17 00:00:00 2001 From: Alex Leong Date: Tue, 30 Jul 2024 21:33:46 +0000 Subject: [PATCH] make GrpcRoute optional Signed-off-by: Alex Leong --- cli/cmd/check.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/cmd/check.go b/cli/cmd/check.go index 3a1d2b58753aa..de45e818bcc62 100644 --- a/cli/cmd/check.go +++ b/cli/cmd/check.go @@ -143,7 +143,10 @@ func configureAndRunChecks(cmd *cobra.Command, wout io.Writer, werr io.Writer, o } crdManifest := bytes.Buffer{} - err = renderCRDs(&crdManifest, valuespkg.Options{}, "yaml") + err = renderCRDs(&crdManifest, valuespkg.Options{ + // GatewayAPI CRDs are optional so don't check for them. + Values: []string{"enableHttpRoutes=false"}, + }, "yaml") if err != nil { return err }