Fix reading secret of ssl cert
This commit is contained in:
parent
ce5e3999ab
commit
b9070d76cc
1 changed files with 4 additions and 0 deletions
|
@ -1096,6 +1096,10 @@ func (ic *GenericController) createServers(data []interface{},
|
|||
|
||||
key := fmt.Sprintf("%v/%v", ing.Namespace, tlsSecretName)
|
||||
bc, exists := ic.sslCertTracker.Get(key)
|
||||
if !exists {
|
||||
ic.syncSecret(key)
|
||||
bc, exists = ic.sslCertTracker.Get(key)
|
||||
}
|
||||
if !exists {
|
||||
glog.Infof("ssl certificate \"%v\" does not exist in local store", key)
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue