Skip to content

Commit

Permalink
chore: conformance report for KIC v3.4 (#3513)
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Lavacca <[email protected]>
  • Loading branch information
mlavacca authored Dec 19, 2024
1 parent f844252 commit bac02ae
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Kong Kubernetes Ingress Controller

## Table of Contents

| API channel | Implementation version | Mode | Report |
|--------------|-------------------------------------------------------------------------------------|-------------|-------------------------------------------------------|
| experimental | [v3.4.0](https://github.com/Kong/kubernetes-ingress-controller/releases/tag/v3.4.0) | expressions | [link](./experimental-v3.4.0-expressions-report.yaml) |
| experimental | [v3.4.0](https://github.com/Kong/kubernetes-ingress-controller/releases/tag/v3.4.0) | traditional_compatible | [link](./experimental-v3.4.0-traditional_compatible-report.yaml) |

## Reproduce

### Prerequisites

In order to properly run the conformance tests, you need to have [KinD](https://github.com/kubernetes-sigs/kind)
and [Helm](https://github.com/helm/helm) installed on your local machine, as the
test suite will create a fresh KinD cluster and will use Helm to deploy some additional
components.

### Steps

1. Clone the Kong Ingress Controller GitHub repository

```bash
git clone https://github.com/Kong/kubernetes-ingress-controller.git && cd kubernetes-ingress-controller
```

2. Check out the desired version

```bash
export VERSION=v<x.y.z>
git checkout $VERSION
```

3. Run the conformance tests

```bash
TEST_KONG_ROUTER_FLAVOR=<traditional_compatible|expressions> make test.conformance
```

4. Check the produced report

```bash
cat ./kong-kubernetes-ingress-controller.yaml
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
apiVersion: gateway.networking.k8s.io/v1
date: "2024-12-19T16:04:43+01:00"
gatewayAPIChannel: experimental
gatewayAPIVersion: v1.2.1
implementation:
contact:
- github.com/kong/kubernetes-ingress-controller/issues/new/choose
organization: Kong
project: kubernetes-ingress-controller
url: github.com/kong/kubernetes-ingress-controller
version: v3.4.0
kind: ConformanceReport
mode: expressions
profiles:
- core:
result: partial
skippedTests:
- GRPCRouteListenerHostnameMatching
statistics:
Failed: 0
Passed: 11
Skipped: 1
name: GATEWAY-GRPC
summary: Core tests partially succeeded with 1 test skips.
- core:
result: success
statistics:
Failed: 0
Passed: 33
Skipped: 0
extended:
result: success
statistics:
Failed: 0
Passed: 5
Skipped: 0
supportedFeatures:
- HTTPRouteHostRewrite
- HTTPRouteMethodMatching
- HTTPRoutePathRewrite
- HTTPRouteQueryParamMatching
- HTTPRouteResponseHeaderModification
unsupportedFeatures:
- GatewayHTTPListenerIsolation
- GatewayInfrastructurePropagation
- GatewayPort8080
- GatewayStaticAddresses
- HTTPRouteBackendProtocolH2C
- HTTPRouteBackendProtocolWebSocket
- HTTPRouteBackendRequestHeaderModification
- HTTPRouteBackendTimeout
- HTTPRouteDestinationPortMatching
- HTTPRouteParentRefPort
- HTTPRoutePathRedirect
- HTTPRoutePortRedirect
- HTTPRouteRequestMirror
- HTTPRouteRequestMultipleMirrors
- HTTPRouteRequestTimeout
- HTTPRouteSchemeRedirect
name: GATEWAY-HTTP
summary: Core tests succeeded. Extended tests succeeded.
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
apiVersion: gateway.networking.k8s.io/v1
date: "2024-12-19T16:42:02+01:00"
gatewayAPIChannel: experimental
gatewayAPIVersion: v1.2.1
implementation:
contact:
- github.com/kong/kubernetes-ingress-controller/issues/new/choose
organization: Kong
project: kubernetes-ingress-controller
url: github.com/kong/kubernetes-ingress-controller
version: v3.4.0
kind: ConformanceReport
mode: traditional_compatible
profiles:
- core:
result: partial
skippedTests:
- GRPCExactMethodMatching
- GRPCRouteHeaderMatching
statistics:
Failed: 0
Passed: 10
Skipped: 2
name: GATEWAY-GRPC
summary: Core tests partially succeeded with 2 test skips.
- core:
result: partial
skippedTests:
- HTTPRouteHeaderMatching
statistics:
Failed: 0
Passed: 32
Skipped: 1
extended:
result: success
statistics:
Failed: 0
Passed: 3
Skipped: 0
supportedFeatures:
- HTTPRouteHostRewrite
- HTTPRoutePathRewrite
- HTTPRouteResponseHeaderModification
unsupportedFeatures:
- GatewayHTTPListenerIsolation
- GatewayInfrastructurePropagation
- GatewayPort8080
- GatewayStaticAddresses
- HTTPRouteBackendProtocolH2C
- HTTPRouteBackendProtocolWebSocket
- HTTPRouteBackendRequestHeaderModification
- HTTPRouteBackendTimeout
- HTTPRouteDestinationPortMatching
- HTTPRouteMethodMatching
- HTTPRouteParentRefPort
- HTTPRoutePathRedirect
- HTTPRoutePortRedirect
- HTTPRouteQueryParamMatching
- HTTPRouteRequestMirror
- HTTPRouteRequestMultipleMirrors
- HTTPRouteRequestTimeout
- HTTPRouteSchemeRedirect
name: GATEWAY-HTTP
summary: Core tests partially succeeded with 1 test skips. Extended tests succeeded.
2 changes: 1 addition & 1 deletion site-src/implementations.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ Check out the [Gateway API task][istio-2] for more information about the Gateway

### Kong Kubernetes Ingress Controller

[![Conformance](https://img.shields.io/badge/Gateway%20API%20Conformance%20v1.1.0-Kong%20Ingress%20Controller-green)](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/reports/v1.1.0/kong-kubernetes-ingress-controller)
[![Conformance](https://img.shields.io/badge/Gateway%20API%20Conformance%20v1.2.1-Kong%20Ingress%20Controller-green)](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/reports/v1.2.1/kong-kubernetes-ingress-controller)

[Kong][kong] is an open source API Gateway built for hybrid and multi-cloud environments.

Expand Down

0 comments on commit bac02ae

Please sign in to comment.