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 }