We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 251c0c6 commit 85e0406Copy full SHA for 85e0406
internal/controller/gatewayproxy_controller.go
@@ -62,7 +62,7 @@ type GatewayProxyController struct {
62
func (r *GatewayProxyController) SetupWithManager(mrg ctrl.Manager) error {
63
// Check and store EndpointSlice API support
64
r.supportsEndpointSlice = pkgutils.HasAPIResource(mrg, &discoveryv1.EndpointSlice{})
65
- r.supportsGateway = pkgutils.HasAPIResource(mrg, &gatewayv1.Gateway{})
+ r.supportsGateway = pkgutils.HasAPIResource(mrg, &gatewayv1.Gateway{}) && !config.ControllerConfig.DisableGatewayAPI
66
var icWatch client.Object
67
switch r.ICGV.String() {
68
case networkingv1beta1.SchemeGroupVersion.String():
0 commit comments