From 3a39d03ec479f1e2cb54204c3d27b0cd7c8d3768 Mon Sep 17 00:00:00 2001 From: Orzelius Date: Tue, 4 Apr 2023 18:48:16 +0900 Subject: [PATCH] test: fix ingress tls cert test --- core/test/integ/src/plugins/kubernetes/container/ingress.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/test/integ/src/plugins/kubernetes/container/ingress.ts b/core/test/integ/src/plugins/kubernetes/container/ingress.ts index 7342dbe552..0309e61e29 100644 --- a/core/test/integ/src/plugins/kubernetes/container/ingress.ts +++ b/core/test/integ/src/plugins/kubernetes/container/ingress.ts @@ -511,7 +511,7 @@ describe("createIngressResources", () => { annotations: {}, path: "/", port: "http", - hostname: "hostname.invalid", + hostname: "my.domain.com", }) const api = await getKubeApi(singleTlsProvider) @@ -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"]) } })