mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-01 18:33:19 +02:00
core/envoyconfig: make adding ipv6 addresses to internal cidr list conditional on ipv6 support on the system (#5538) (#5539)
This commit is contained in:
parent
839bedac80
commit
dcb10b1727
22 changed files with 86 additions and 75 deletions
|
@ -13,6 +13,7 @@ import (
|
|||
"github.com/rs/zerolog"
|
||||
"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"
|
||||
coltracepb "go.opentelemetry.io/proto/otlp/collector/trace/v1"
|
||||
"golang.org/x/net/nettest"
|
||||
"golang.org/x/sync/errgroup"
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/health/grpc_health_v1"
|
||||
|
@ -177,6 +178,7 @@ func NewServer(
|
|||
srv.MetricsListener.Addr().String(),
|
||||
srv.filemgr,
|
||||
srv.reproxy,
|
||||
nettest.SupportsIPv6(),
|
||||
)
|
||||
|
||||
res, err := srv.buildDiscoveryResources(ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue