Skip to content

Commit

Permalink
outbound: Add error type to TCP and TLS routes (#387)
Browse files Browse the repository at this point in the history
This PR adds explicit error types to TLS and TCP routes and backends. They serve two distinct purposes: 

- a route level error is to be used when we want to fail all traffic that goes through a particular route (i.e. blocked by default traffic)
- a backend level error is to be used when we want to fail traffic for just a single backend on a route (i.e. in situations when we have more than one backends but some of them have caused `InvalidKind` reasons).

This behavior is governed by the Gateway API GEP described here: https://gateway-api.sigs.k8s.io/geps/gep-1364/

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
  • Loading branch information
zaharidichev authored Oct 24, 2024
1 parent 7998c02 commit 7c5fd84
Show file tree
Hide file tree
Showing 3 changed files with 742 additions and 340 deletions.
Loading

0 comments on commit 7c5fd84

Please sign in to comment.