Skip to content

Commit ed4d2b5

Browse files
committed
f
1 parent f0516ad commit ed4d2b5

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/apisix-conformance-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ jobs:
109109
- name: Get Logs from apisix-ingress-controller
110110
shell: bash
111111
run: |
112-
export KUBECONFIG=/tmp/apisix-ingress-cluster.kubeconfig
113112
kubectl logs -n apisix-conformance-test -l app=apisix-ingress-controller
114113
115114
- name: Upload Gateway API Conformance Report

.github/workflows/conformance-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ jobs:
117117
- name: Get Logs from api7-ingress-controller
118118
shell: bash
119119
run: |
120-
export KUBECONFIG=/tmp/apisix-ingress-cluster.kubeconfig
121120
kubectl logs -n apisix-conformance-test -l app=apisix-ingress-controller
122121
123122
- name: Upload Gateway API Conformance Report

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ CRD_DOCS_TEMPLATE ?= docs/assets/template
4848

4949
INGRESS_VERSION ?= v1
5050

51-
#export KUBECONFIG = /tmp/$(KIND_NAME).kubeconfig
52-
5351
# go
5452
VERSYM="github.com/apache/apisix-ingress-controller/internal/version._buildVersion"
5553
GITSHASYM="github.com/apache/apisix-ingress-controller/internal/version._buildGitRevision"

test/e2e/crds/v2/tls.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,11 @@ spec:
235235
assert.NotNil(GinkgoT(), tls[0].Client, "client configuration should not be nil")
236236
assert.NotEmpty(GinkgoT(), tls[0].Client.CA, "client CA should not be empty")
237237
assert.Equal(GinkgoT(), normalizePEM(caCert), normalizePEM(tls[0].Client.CA), "client CA should be test-ca-secret")
238-
assert.Equal(GinkgoT(), int64(10), *tls[0].Client.Depth, "client depth should be 1")
238+
depth := int64(1)
239+
if s.Deployer.Name() == framework.ProviderTypeAPI7EE {
240+
depth = int64(10) // API7EE control plane currently defaults to depth 10 for mTLS
241+
}
242+
assert.Equal(GinkgoT(), depth, *tls[0].Client.Depth, "client depth should be 1")
239243
})
240244
It("ApisixTls with skip_mtls_uri_regex test", func() {
241245
// TODO: Add support for skip_mtls_uri_regex in API7EE control plane

0 commit comments

Comments
 (0)