Skip to content

Commit

Permalink
Merge pull request #1349 from aledbf/force-reload
Browse files Browse the repository at this point in the history
Force reload if a secret is updated
  • Loading branch information
aledbf authored Sep 13, 2017
2 parents 01a1aa3 + 33ce78a commit ca0df3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/pkg/ingress/controller/backend_ssl.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ func (ic *GenericController) syncSecret(key string) {
}
glog.Infof("updating secret %v in the local store", key)
ic.sslCertTracker.Update(key, cert)
// we need to force the sync of the secret to disk
ic.syncSecret(key)
// this update must trigger an update
// (like an update event from a change in Ingress)
ic.syncIngress("secret-update")
return
}

Expand Down

0 comments on commit ca0df3a

Please sign in to comment.