Merge pull request #4249 from ElvinEfendi/trailing-dot
test to make sure dynamic cert works trailing dot in domains
This commit is contained in:
commit
a2009484f7
1 changed files with 4 additions and 0 deletions
|
@ -130,6 +130,10 @@ var _ = framework.IngressNginxDescribe("Dynamic Certificate", func() {
|
||||||
ensureHTTPSRequest(f.GetURL(framework.HTTPS), host, host)
|
ensureHTTPSRequest(f.GetURL(framework.HTTPS), host, host)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
It("supports requests with domain with trailing dot", func() {
|
||||||
|
ensureHTTPSRequest(f.GetURL(framework.HTTPS), host+".", host)
|
||||||
|
})
|
||||||
|
|
||||||
It("picks up the updated certificate without reloading", func() {
|
It("picks up the updated certificate without reloading", func() {
|
||||||
ing, err := f.KubeClientSet.ExtensionsV1beta1().Ingresses(f.Namespace).Get(host, metav1.GetOptions{})
|
ing, err := f.KubeClientSet.ExtensionsV1beta1().Ingresses(f.Namespace).Get(host, metav1.GetOptions{})
|
||||||
Expect(err).ToNot(HaveOccurred())
|
Expect(err).ToNot(HaveOccurred())
|
||||||
|
|
Loading…
Reference in a new issue