Skip to content

Commit

Permalink
Merge pull request #741 from rramkumar1/tracking15
Browse files Browse the repository at this point in the history
Cherrypick #728 onto 1.5 branch.
  • Loading branch information
k8s-ci-robot committed May 1, 2019
2 parents d84515a + 66fd3b6 commit f1329f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/tls/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func (t *TLSCertsFromSecretsLoader) Load(ing *extensions.Ingress) ([]*loadbalanc
var certs []*loadbalancers.TLSCerts

for _, tlsSecret := range ing.Spec.TLS {
if tlsSecret.SecretName == "" {
continue
}
// TODO: Replace this for a secret watcher.
glog.V(3).Infof("Retrieving secret for ing %v with name %v", ing.Name, tlsSecret.SecretName)
secret, err := t.Client.Core().Secrets(ing.Namespace).Get(tlsSecret.SecretName, meta_v1.GetOptions{})
Expand Down

0 comments on commit f1329f7

Please sign in to comment.