This commit is contained in:
Caleb Doxsey 2023-10-30 15:31:41 -06:00 committed by GitHub
parent 70d77b283b
commit a18ef67be9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 865 additions and 775 deletions

View file

@ -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,