Skip to content

Commit

Permalink
test: fix ingress tls cert test
Browse files Browse the repository at this point in the history
  • Loading branch information
Orzelius committed Apr 4, 2023
1 parent 37759bc commit 3a39d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/test/integ/src/plugins/kubernetes/container/ingress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ describe("createIngressResources", () => {
annotations: {},
path: "/",
port: "http",
hostname: "hostname.invalid",
hostname: "my.domain.com",
})

const api = await getKubeApi(singleTlsProvider)
Expand All @@ -525,7 +525,7 @@ describe("createIngressResources", () => {
expect(ingress.spec.tls?.[0].secretName).to.equal("somesecret")

if (ingress.apiVersion === "networking.k8s.io/v1") {
expect(ingress.spec.tls?.[0].hosts).to.eql(["hostname.invalid"])
expect(ingress.spec.tls?.[0].hosts).to.eql(["my.domain.com"])
}
})

Expand Down

0 comments on commit 3a39d03

Please sign in to comment.