feat: support apisix tls#171
Merged
Merged
Conversation
Signed-off-by: ashing <axingfly@gmail.com>
Contributor
conformance test reportapiVersion: gateway.networking.k8s.io/v1
date: "2025-06-20T03:34:27Z"
gatewayAPIChannel: standard
gatewayAPIVersion: v1.2.0
implementation:
contact: null
organization: APISIX
project: apisix-ingress-controller
url: https://github.com/apache/apisix-ingress-controller.git
version: v2.0.0
kind: ConformanceReport
mode: default
profiles:
- core:
result: partial
skippedTests:
- HTTPRouteHTTPSListener
statistics:
Failed: 0
Passed: 32
Skipped: 1
name: GATEWAY-HTTP
summary: Core tests partially succeeded with 1 test skips. |
Contributor
conformance test reportapiVersion: gateway.networking.k8s.io/v1
date: "2025-06-20T03:31:25Z"
gatewayAPIChannel: standard
gatewayAPIVersion: v1.2.0
implementation:
contact: null
organization: APISIX
project: apisix-ingress-controller
url: https://github.com/apache/apisix-ingress-controller.git
version: v2.0.0
kind: ConformanceReport
mode: default
profiles:
- core:
result: partial
skippedTests:
- HTTPRouteHTTPSListener
statistics:
Failed: 0
Passed: 32
Skipped: 1
name: GATEWAY-HTTP
summary: Core tests partially succeeded with 1 test skips. |
Signed-off-by: ashing <axingfly@gmail.com>
…t_apisixtls Signed-off-by: ashing <axingfly@gmail.com>
Signed-off-by: ashing <axingfly@gmail.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds full support for the ApisixTls CR, including e2e tests, provider translation, controller wiring, indexing, and sample YAML updates.
- Introduces end-to-end tests for TLS and mTLS in
test/e2e/apisix/tls.go - Implements translation of
ApisixTlsCR to ADC SSL resources and registers it in the ADC client - Wires up
ApisixTlsin the controller manager, indexing, and updates sample manifests for v2 and adds an ApisixTls example
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| test/e2e/apisix/tls.go | Add e2e tests covering basic TLS and mutual TLS scenarios |
| internal/provider/adc/translator/apisixtls.go | Implement TranslateApisixTls to generate ADC SSL objects |
| internal/provider/adc/adc.go | Register ApisixTls handling in ADC client's Update and Delete |
| internal/manager/controllers.go | Add ApisixTlsReconciler to controller setup |
| internal/controller/utils.go | Define KindApisixTls constant |
| internal/controller/indexer/indexer.go | Add field indexers for ApisixTls secrets and ingress class references |
| config/samples/* | Update sample CRDs to apiVersion: apisix.apache.org/v2 and add ApisixTls sample |
Comments suppressed due to low confidence (2)
config/samples/apisix.apache.org_v2_apisixupstream.yaml:1
- Sample CR files in this directory use a leading dash to form a list in Kustomize. The leading
-was removed here, which may break sample bundling. Re-add the dash beforeapiVersionto maintain the list format.
apiVersion: apisix.apache.org/v2
config/samples/apisix.apache.org_v2_apisixtls.yaml:1
- This new sample should follow the existing pattern of a leading
-to be included as a list item in Kustomize. Add-beforeapiVersion.
apiVersion: apisix.apache.org/v2
dspo
approved these changes
Jun 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change:
What this PR does / why we need it:
Pre-submission checklist: