Skip to content

Commit

Permalink
Merge pull request #4249 from ElvinEfendi/trailing-dot
Browse files Browse the repository at this point in the history
test to make sure dynamic cert works trailing dot in domains
  • Loading branch information
k8s-ci-robot authored Jun 29, 2019
2 parents ac9f250 + f771e72 commit a200948
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/lua/dynamic_certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ var _ = framework.IngressNginxDescribe("Dynamic Certificate", func() {
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() {
ing, err := f.KubeClientSet.ExtensionsV1beta1().Ingresses(f.Namespace).Get(host, metav1.GetOptions{})
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit a200948

Please sign in to comment.