Merge c525936940
into de1a4c463c
This commit is contained in:
commit
3f262745db
2 changed files with 10 additions and 0 deletions
|
@ -1404,6 +1404,12 @@ func buildHTTPSListener(t, s interface{}) string {
|
|||
return ""
|
||||
}
|
||||
|
||||
for _, server := range tc.Servers {
|
||||
if server.Hostname == hostname && server.SSLCert == nil {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
co := commonListenOptions(&tc, hostname)
|
||||
|
||||
addrV4 := []string{""}
|
||||
|
|
|
@ -62,6 +62,10 @@ var _ = framework.IngressNginxDescribe("[Lua] dynamic certificates", func() {
|
|||
_, err = f.KubeClientSet.NetworkingV1().Ingresses(f.Namespace).Update(context.TODO(), ing, metav1.UpdateOptions{})
|
||||
assert.Nil(ginkgo.GinkgoT(), err)
|
||||
|
||||
ing.Annotations = map[string]string{
|
||||
"nginx.ingress.kubernetes.io/proxy-read-timeout": "20",
|
||||
"nginx.ingress.kubernetes.io/load-balance": "ewma",
|
||||
}
|
||||
time.Sleep(waitForLuaSync)
|
||||
|
||||
ensureHTTPSRequest(f, f.GetURL(framework.HTTPS), host, host)
|
||||
|
|
Loading…
Reference in a new issue