Skip to content

Commit

Permalink
consul: add support for grpc_ca_file for tls grpc connections in cons…
Browse files Browse the repository at this point in the history
…ul 1.14+

This PR adds client config to Nomad for specifying consul.grpc_ca_file

These changes combined with hashicorp/consul#15913 should
finally enable Nomad users to upgrade to Consul 1.14+ and use tls grpc connections.
  • Loading branch information
shoenig committed Jan 9, 2023
1 parent d472184 commit 49784ed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/allocrunner/consul_grpc_sock_hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func newConsulGRPCSocketHook(
if !ok {
consulGRPCPort = consulGRPCFallbackPort
}
logger.Info("CONSUL GRPC DEBUG", "consulGRPCPort", consulGRPCPort)

return &consulGRPCSocketHook{
alloc: alloc,
Expand Down Expand Up @@ -302,8 +301,6 @@ func proxyConn(ctx context.Context, logger hclog.Logger, destAddr string, conn n
// Close the connection when we're done with it.
defer conn.Close()

logger.Info("CONSUL GRPC DEBUG", "destAddr", destAddr)

ctx, cancel := context.WithCancel(ctx)
defer cancel()

Expand Down

0 comments on commit 49784ed

Please sign in to comment.