Skip to content

Commit

Permalink
rollback tls-reload
Browse files Browse the repository at this point in the history
Signed-off-by: taniwa <taniwa@lycorp.co.jp>
  • Loading branch information
t4niwa committed Mar 28, 2024
1 parent 270c3fb commit 99c1812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/tls-reload.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func NewCertReloader(config ReloadConfig) (*CertReloader, error) {
return nil, err
}
// If SIA is not issuing certificates, use pollRefresh function to periodically read certificate files and update cert reloader.
if config.ProviderService == "" && config.CertFile != "" && config.KeyFile != "" {
if config.ProviderService == "" {
go r.pollRefresh()
}
return r, nil
Expand Down

0 comments on commit 99c1812

Please sign in to comment.