@@ -130,48 +130,6 @@ var _ = SIGDescribe("Loadbalancing: L7", func() {
130
130
}
131
131
})
132
132
133
- ginkgo .It ("should create ingress with pre-shared certificate" , func () {
134
- executePresharedCertTest (f , jig , "" )
135
- })
136
-
137
- ginkgo .It ("should support multiple TLS certs" , func () {
138
- ginkgo .By ("Creating an ingress with no certs." )
139
-
140
- _ = gceController .CreateStaticIP (ns )
141
- jig .CreateIngress (filepath .Join (e2eingress .IngressManifestPath , "multiple-certs" ), ns , map [string ]string {
142
- e2eingress .IngressStaticIPKey : ns ,
143
- }, map [string ]string {})
144
-
145
- ginkgo .By ("Adding multiple certs to the ingress." )
146
- hosts := []string {"test1.ingress.com" , "test2.ingress.com" , "test3.ingress.com" , "test4.ingress.com" }
147
- secrets := []string {"tls-secret-1" , "tls-secret-2" , "tls-secret-3" , "tls-secret-4" }
148
- certs := [][]byte {}
149
- for i , host := range hosts {
150
- jig .AddHTTPS (secrets [i ], host )
151
- certs = append (certs , jig .GetRootCA (secrets [i ]))
152
- }
153
- for i , host := range hosts {
154
- err := jig .WaitForIngressWithCert (true , []string {host }, certs [i ])
155
- framework .ExpectNoError (err , fmt .Sprintf ("Unexpected error while waiting for ingress: %v" , err ))
156
- }
157
-
158
- ginkgo .By ("Remove all but one of the certs on the ingress." )
159
- jig .RemoveHTTPS (secrets [1 ])
160
- jig .RemoveHTTPS (secrets [2 ])
161
- jig .RemoveHTTPS (secrets [3 ])
162
-
163
- ginkgo .By ("Test that the remaining cert is properly served." )
164
- err := jig .WaitForIngressWithCert (true , []string {hosts [0 ]}, certs [0 ])
165
- framework .ExpectNoError (err , fmt .Sprintf ("Unexpected error while waiting for ingress: %v" , err ))
166
-
167
- ginkgo .By ("Add back one of the certs that was removed and check that all certs are served." )
168
- jig .AddHTTPS (secrets [1 ], hosts [1 ])
169
- for i , host := range hosts [:2 ] {
170
- err := jig .WaitForIngressWithCert (true , []string {host }, certs [i ])
171
- framework .ExpectNoError (err , fmt .Sprintf ("Unexpected error while waiting for ingress: %v" , err ))
172
- }
173
- })
174
-
175
133
ginkgo .It ("multicluster ingress should get instance group annotation" , func () {
176
134
name := "echomap"
177
135
jig .CreateIngress (filepath .Join (e2eingress .IngressManifestPath , "http" ), ns , map [string ]string {
0 commit comments