From bb42ab61a35202ccf5cbba4b371e953c8460ef8f Mon Sep 17 00:00:00 2001 From: Alin Rosca Date: Mon, 28 Oct 2024 15:24:14 +0200 Subject: [PATCH] APIGOV-29113 set default grpc to true --- pkg/config/centralconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/centralconfig.go b/pkg/config/centralconfig.go index a0a39b672..659df100d 100644 --- a/pkg/config/centralconfig.go +++ b/pkg/config/centralconfig.go @@ -829,7 +829,7 @@ func AddCentralConfigProperties(props properties.Properties, agentType AgentType props.AddStringProperty(pathAPIServerVersion, "v1alpha1", "Version of the API Server") props.AddDurationProperty(pathJobTimeout, 5*time.Minute, "The max time a job execution can run before being considered as failed") // Watch stream config - props.AddBoolProperty(pathGRPCEnabled, false, "Controls whether an agent uses a gRPC connection") + props.AddBoolProperty(pathGRPCEnabled, true, "Controls whether an agent uses a gRPC connection") props.AddStringProperty(pathGRPCHost, "", "Host name for Amplify Central gRPC connection") props.AddIntProperty(pathGRPCPort, 0, "Port for Amplify Central gRPC connection") props.AddBoolProperty(pathGRPCInsecure, false, "Controls whether an agent uses a gRPC connection with TLS")