mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-30 09:27:19 +02:00
core/config: add config version, additional telemetry (#4645)
* core/config: add config version, additional telemetry * typo
This commit is contained in:
parent
dd7e3b993c
commit
ae420f01c6
13 changed files with 857 additions and 766 deletions
|
@ -27,6 +27,7 @@ type Config struct {
|
|||
Options *Options
|
||||
AutoCertificates []tls.Certificate
|
||||
EnvoyVersion string
|
||||
Version int64
|
||||
|
||||
// DerivedCertificates are TLS certificates derived from the shared secret
|
||||
DerivedCertificates []tls.Certificate
|
||||
|
@ -62,6 +63,7 @@ func (cfg *Config) Clone() *Config {
|
|||
_ = copy(endpoints, cfg.MetricsScrapeEndpoints)
|
||||
|
||||
return &Config{
|
||||
Version: cfg.Version,
|
||||
Options: newOptions,
|
||||
AutoCertificates: cfg.AutoCertificates,
|
||||
EnvoyVersion: cfg.EnvoyVersion,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue