Skip to content

Commit da0c44a

Browse files
authored
chore: v1.2.0 report for Kong Ingress Controller (#3426)
* chore: v1.2.0 report for Kong Ingress Controller Signed-off-by: Mattia Lavacca <[email protected]> * don't check if the version is an actual semver Signed-off-by: Mattia Lavacca <[email protected]> --------- Signed-off-by: Mattia Lavacca <[email protected]>
1 parent bc2a7aa commit da0c44a

File tree

3 files changed

+104
-6
lines changed

3 files changed

+104
-6
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Kong Kubernetes Ingress Controller
2+
3+
## Table of Contents
4+
5+
| API channel | Implementation version | Mode | Report |
6+
|--------------|-------------------------------------------------------------------------------------|-------------|-------------------------------------------------------|
7+
| experimental | [v3.2.0-244-gea4944bb0](https://github.com/Kong/kubernetes-ingress-controller/commit/b5c61d20e325055cd4665b4c29aeea5288c20d2a) | expressions | [link](./experimental-v3.2.0-244-gea4944bb0-expressions-report.yaml) |
8+
9+
## Reproduce
10+
11+
### Prerequisites
12+
13+
In order to properly run the conformance tests, you need to have [KinD](https://github.com/kubernetes-sigs/kind)
14+
and [Helm](https://github.com/helm/helm) installed on your local machine, as the
15+
test suite will create a fresh KinD cluster and will use Helm to deploy some additional
16+
components.
17+
18+
### Steps
19+
20+
1. Clone the Kong Ingress Controller GitHub repository
21+
22+
```bash
23+
git clone https://github.com/Kong/kubernetes-ingress-controller.git && cd kubernetes-ingress-controller
24+
```
25+
26+
2. Check out the desired version
27+
28+
```bash
29+
export VERSION=v<x.y.z>
30+
git checkout $VERSION
31+
```
32+
33+
3. Run the conformance tests
34+
35+
```bash
36+
KONG_TEST_EXPRESSION_ROUTES=true make test.conformance
37+
```
38+
39+
4. Check the produced report
40+
41+
```bash
42+
cat ./kong-kubernetes-ingress-controller.yaml
43+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
apiVersion: gateway.networking.k8s.io/v1
2+
date: "2024-10-31T15:30:08+01:00"
3+
gatewayAPIChannel: experimental
4+
gatewayAPIVersion: v1.2.0
5+
implementation:
6+
contact:
7+
- github.com/kong/kubernetes-ingress-controller/issues/new/choose
8+
organization: Kong
9+
project: kubernetes-ingress-controller
10+
url: github.com/kong/kubernetes-ingress-controller
11+
version: v3.2.0-244-gea4944bb0
12+
kind: ConformanceReport
13+
mode: expressions
14+
profiles:
15+
- core:
16+
result: partial
17+
skippedTests:
18+
- GRPCRouteListenerHostnameMatching
19+
statistics:
20+
Failed: 0
21+
Passed: 11
22+
Skipped: 1
23+
name: GATEWAY-GRPC
24+
summary: Core tests partially succeeded with 1 test skips.
25+
- core:
26+
result: success
27+
statistics:
28+
Failed: 0
29+
Passed: 33
30+
Skipped: 0
31+
extended:
32+
result: success
33+
statistics:
34+
Failed: 0
35+
Passed: 5
36+
Skipped: 0
37+
supportedFeatures:
38+
- HTTPRouteHostRewrite
39+
- HTTPRouteMethodMatching
40+
- HTTPRoutePathRewrite
41+
- HTTPRouteQueryParamMatching
42+
- HTTPRouteResponseHeaderModification
43+
unsupportedFeatures:
44+
- GatewayHTTPListenerIsolation
45+
- GatewayInfrastructurePropagation
46+
- GatewayPort8080
47+
- GatewayStaticAddresses
48+
- HTTPRouteBackendProtocolH2C
49+
- HTTPRouteBackendProtocolWebSocket
50+
- HTTPRouteBackendRequestHeaderModification
51+
- HTTPRouteBackendTimeout
52+
- HTTPRouteDestinationPortMatching
53+
- HTTPRouteParentRefPort
54+
- HTTPRoutePathRedirect
55+
- HTTPRoutePortRedirect
56+
- HTTPRouteRequestMirror
57+
- HTTPRouteRequestMultipleMirrors
58+
- HTTPRouteRequestTimeout
59+
- HTTPRouteSchemeRedirect
60+
name: GATEWAY-HTTP
61+
summary: Core tests succeeded. Extended tests succeeded.

hack/verify-reports.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ check_report_fields() {
6565

6666
REPORTS_DIR=$(dirname "${BASH_SOURCE}")/../conformance/reports
6767
# Regex to match the report file name pattern defined in https://github.com/kubernetes-sigs/gateway-api/blob/release-1.1/conformance/reports/README.md#how-this-folder-is-structured
68-
FILE_NAMING_PATTERN="^(standard|experimental)-v?[0-9]+\.[0-9]+(\.[0-9]+)?-[^-]+-report\.yaml$"
6968
EXIT_VALUE=0
7069

7170
for dir in ${REPORTS_DIR}/*
@@ -88,11 +87,6 @@ do
8887
fi
8988
for report in ${implementation_dir}/*.yaml
9089
do
91-
report_name="${report##*/}"
92-
if [[ ! $report_name =~ $FILE_NAMING_PATTERN ]]; then
93-
error "$report_name does not match the naming pattern defined in the README.md"
94-
EXIT_VALUE=1
95-
fi
9690
check_report_fields "${report}" "${gateway_api_version}"
9791
done
9892
done

0 commit comments

Comments
 (0)