mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-27 23:18:13 +02:00
grpc: send client traffic through envoy (#2469)
* wip * wip * handle wildcards in override name * remove wait for ready, add comment about sync, force initial sync complete in test * address comments
This commit is contained in:
parent
87c3c675d2
commit
bbec2cae9f
26 changed files with 391 additions and 480 deletions
|
@ -11,6 +11,13 @@ type Config struct {
|
|||
Options *Options
|
||||
AutoCertificates []tls.Certificate
|
||||
EnvoyVersion string
|
||||
|
||||
// GRPCPort is the port the gRPC server is running on.
|
||||
GRPCPort string
|
||||
// HTTPPort is the port the HTTP server is running on.
|
||||
HTTPPort string
|
||||
// OutboundPort is the port the outbound gRPC listener is running on.
|
||||
OutboundPort string
|
||||
}
|
||||
|
||||
// Clone creates a clone of the config.
|
||||
|
@ -21,6 +28,10 @@ func (cfg *Config) Clone() *Config {
|
|||
Options: newOptions,
|
||||
AutoCertificates: cfg.AutoCertificates,
|
||||
EnvoyVersion: cfg.EnvoyVersion,
|
||||
|
||||
GRPCPort: cfg.GRPCPort,
|
||||
HTTPPort: cfg.HTTPPort,
|
||||
OutboundPort: cfg.OutboundPort,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue