Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/smokescreen/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ type Config struct {
ExitTimeout time.Duration
MetricsClient metrics.MetricsClientInterface
EgressACL acl.Decider
EgressACLFile string
SupportProxyProtocol bool
TlsConfig *tls.Config
CrlByAuthorityKeyId map[string]*pkix.CertificateList
Expand Down Expand Up @@ -576,6 +577,7 @@ func (config *Config) SetupPrometheus(endpoint string, port string, listenAddr s
func (config *Config) SetupEgressAcl(aclFile string) error {
if aclFile == "" {
config.EgressACL = nil
config.EgressACLFile = ""
return nil
}

Expand All @@ -587,6 +589,7 @@ func (config *Config) SetupEgressAcl(aclFile string) error {
return err
}
config.EgressACL = egressACL
config.EgressACLFile = aclFile

return nil
}
Expand Down