Refactor e2e framework for TLS tests

This commit is contained in:
Antoine Cotten 2018-04-27 14:29:08 +02:00
parent c93f39f019
commit 553df8a0cc
No known key found for this signature in database
GPG key ID: EA06C9A94E2B3EA0
7 changed files with 80 additions and 30 deletions

View file

@ -58,7 +58,7 @@ var _ = framework.IngressNginxDescribe("SSL", func() {
Expect(err).ToNot(HaveOccurred())
Expect(ing).ToNot(BeNil())
_, _, _, err = framework.CreateIngressTLSSecret(f.KubeClientSet,
_, err = framework.CreateIngressTLSSecret(f.KubeClientSet,
ing.Spec.TLS[0].Hosts,
ing.Spec.TLS[0].SecretName,
ing.Namespace)