Skip to content

Commit

Permalink
make GrpcRoute optional
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Leong <[email protected]>
  • Loading branch information
adleong committed Jul 30, 2024
1 parent 7d5ddd8 commit 67e9b97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/cmd/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 67e9b97

Please sign in to comment.