cozystack/hack/e2e-apps
Aleksei Sviridkin 9505b08dd2
test(e2e): gateway.bats smoke-tests Cilium Gateway API wiring
Three bats test cases verify the end-to-end infrastructure brought up
by this PR:

1. Gateway API CRDs are installed (gatewayclasses, gateways, httproutes)
   and the 'cilium' GatewayClass is Accepted by the controller —
   proves gateway-api-crds installed and cilium.gatewayAPI.enabled
   propagated.
2. A minimal Gateway in tenant-test reconciles to Programmed and the
   controller materialises its cilium-gateway-<name> LoadBalancer
   Service — proves envoy.enabled kicked in and the data-plane wiring
   is live.
3. An HTTPRoute with a matching parentRef reaches Accepted status —
   proves Cilium's HTTPRoute attachment logic works.

Not covered (because the test harness has no reachable Let's Encrypt
endpoint and no way to flip cluster-wide gateway.enabled mid-pipeline
without trampling other tests):

- cert-manager HTTP-01 solver via gatewayHTTPRoute.
- The ValidatingAdmissionPolicy that enforces tenant hostname
  ownership (installed only when gateway.enabled=true at platform
  level).
- Full tenant.spec.gateway=true flow with extra/gateway chart and
  CiliumLoadBalancerIPPool.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-04-24 17:03:57 +03:00
..
backup.bats.disabled [backups] Add templating of velero backups 2026-01-04 13:31:15 +03:00
bucket.bats [tests] Fix port-forward leak and LB retry off-by-one 2026-03-23 17:33:27 +03:00
clickhouse.bats [tests] Add pre-cleanup, fix port-forward race, fix temp leak 2026-03-23 17:25:01 +03:00
external-dns.bats feat(extra): add external-dns as standalone extra package 2026-03-10 12:48:01 +01:00
foundationdb.bats [tests] Add pre-cleanup, fix port-forward race, fix temp leak 2026-03-23 17:25:01 +03:00
gateway.bats test(e2e): gateway.bats smoke-tests Cilium Gateway API wiring 2026-04-24 17:03:57 +03:00
harbor.bats fix(harbor): include tenant domain in default hostname and add E2E cleanup 2026-02-18 02:07:38 +03:00
kafka.bats [tests] Fix Kafka E2E test timeout and retry race condition 2026-04-08 17:32:50 +03:00
kubernetes-latest.bats [ci] Refactor testing logic 2025-07-23 14:00:24 +03:00
kubernetes-previous.bats [ci] Refactor testing logic 2025-07-23 14:00:24 +03:00
mariadb.bats [tests] Add pre-cleanup, fix port-forward race, fix temp leak 2026-03-23 17:25:01 +03:00
mongodb.bats [tests] Add pre-cleanup, fix port-forward race, fix temp leak 2026-03-23 17:25:01 +03:00
openbao.bats [tests] Add pre-cleanup, fix port-forward race, fix temp leak 2026-03-23 17:25:01 +03:00
postgres.bats [tests] Add pre-cleanup, fix port-forward race, fix temp leak 2026-03-23 17:25:01 +03:00
qdrant.bats [tests] Add pre-cleanup, fix port-forward race, fix temp leak 2026-03-23 17:25:01 +03:00
redis.bats [tests] Add pre-cleanup, fix port-forward race, fix temp leak 2026-03-23 17:25:01 +03:00
run-kubernetes.sh [tests] Fix: remove EXIT trap that broke successful kubernetes tests 2026-03-24 21:30:06 +03:00
vminstance.bats [tests] Fix review findings: vminstance pre-cleanup, indentation, --ignore-not-found 2026-03-23 17:42:23 +03:00