We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4efc412 commit df31832Copy full SHA for df31832
test/e2e/gatewayapi/gateway.go
@@ -12,6 +12,8 @@ import (
12
"github.com/api7/api7-ingress-controller/test/e2e/scaffold"
13
)
14
15
+const _secretName = "test-apisix-tls"
16
+
17
var Cert = `-----BEGIN CERTIFICATE-----
18
MIIFcjCCA1qgAwIBAgIJALDqPppBVXQ3MA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNV
19
BAYTAkNOMRAwDgYDVQQIDAdKaWFuZ3N1MQ8wDQYDVQQHDAZTdXpob3UxEDAOBgNV
@@ -184,7 +186,7 @@ spec:
184
186
185
187
Context("Gateway SSL", func() {
188
It("Check if SSL resource was created", func() {
- secretName := "test-apisix-tls"
189
+ secretName := _secretName
190
host := "api6.com"
191
createSecret(s, secretName)
192
var defaultGatewayClass = `
@@ -233,7 +235,7 @@ spec:
233
235
234
236
Context("Gateway SSL without hostname", func() {
237
238
239
240
241
apiVersion: gateway.networking.k8s.io/v1
test/e2e/gatewayapi/httproute.go
@@ -100,7 +100,7 @@ spec:
100
}
101
102
var beforeEachHTTPS = func() {
103
104
105
By("create GatewayClass")
106
gatewayClassName := fmt.Sprintf("api7-%d", time.Now().Unix())
0 commit comments