Fix chain completion and default certificate flag issues (#1978)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-01-25 10:46:20 -03:00 committed by GitHub
parent 5dc261dd9c
commit 444a56c001
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 11 deletions

View file

@ -118,11 +118,13 @@ func NewNGINXController(config *Configuration, fs file.Filesystem) *NGINXControl
Proxy: &TCPProxy{},
}
n.store = store.New(true,
n.store = store.New(
config.EnableSSLChainCompletion,
config.Namespace,
config.ConfigMapName,
config.TCPConfigMapName,
config.UDPConfigMapName,
config.DefaultSSLCertificate,
config.ResyncPeriod,
config.Client,
fs,