This commit is contained in:
Ian Quick 2017-08-21 19:38:48 +00:00 committed by GitHub
commit b8c51beadc

View file

@ -1134,8 +1134,12 @@ func (ic *GenericController) createServers(data []interface{},
key := fmt.Sprintf("%v/%v", ing.Namespace, tlsSecretName) key := fmt.Sprintf("%v/%v", ing.Namespace, tlsSecretName)
bc, exists := ic.sslCertTracker.Get(key) bc, exists := ic.sslCertTracker.Get(key)
if !exists { if !exists {
glog.Infof("ssl certificate \"%v\" does not exist in local store", key) ic.syncSecret(key)
continue bc, exists = ic.sslCertTracker.Get(key)
if !exists {
glog.Infof("ssl certificate \"%v\" does not exist in local store", key)
continue
}
} }
cert := bc.(*ingress.SSLCert) cert := bc.(*ingress.SSLCert)