feat: Gateway API support, in lieu of Ingress
commitlint / check-and-test (pull_request) Successful in 3s
check-and-test / check-and-test (pull_request) Failing after 36s

This commit is contained in:
2026-07-04 12:22:32 -04:00
parent 0bdf8c789d
commit 9d9ea09afb
9 changed files with 289 additions and 3 deletions
@@ -0,0 +1,19 @@
suite: Test httproute with implicit path defaults
templates:
- templates/gitea/httproute.yaml
tests:
- it: should use default path and pathType when no paths are specified
set:
gateway.httpRoute.enabled: true
gateway.httpRoute.paths: []
asserts:
- hasDocuments:
count: 1
- isKind:
of: HTTPRoute
- equal:
path: spec.rules[0].matches[0].path.type
value: "PathPrefix"
- equal:
path: spec.rules[0].matches[0].path.value
value: "/"