Problem
Current CI (.github/workflows/ci.yml) only runs:
- Format check
- Clippy
- Unit tests
- Security audit
- Build
There's no validation that the controller actually works in Kubernetes.
Impact
- Regressions in K8s API interactions won't be caught
- Gateway/HTTPRoute reconciliation bugs can ship
- No confidence that releases actually work
Suggested Fix
Add a CI job that:
- Spins up Kind cluster
- Installs Gateway API CRDs
- Deploys RAUTA
- Creates test Gateway + HTTPRoute
- Sends HTTP traffic and verifies routing
- Checks controller logs for errors
Example workflow addition:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: helm/kind-action@v1
- name: Install Gateway API CRDs
run: kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/standard-install.yaml
- name: Build and load image
run: |
docker build -t rauta:test .
kind load docker-image rauta:test
- name: Deploy and test
run: |
kubectl apply -f deploy/
# ... run integration tests
Problem
Current CI (
.github/workflows/ci.yml) only runs:There's no validation that the controller actually works in Kubernetes.
Impact
Suggested Fix
Add a CI job that:
Example workflow addition: