Skip to content

Commit

Permalink
fix health checks
Browse files Browse the repository at this point in the history
Signed-off-by: R-Lawton <[email protected]>
  • Loading branch information
R-Lawton committed Dec 6, 2024
1 parent a67110a commit e1af2b4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ spec:
path:
type: PathPrefix
value: "/cars"
- method: GET
path:
type: PathPrefix
value: "/health"
backendRefs:
- name: toystore
port: 80
Expand All @@ -214,6 +218,8 @@ spec:
kind: Gateway
name: ${KUADRANT_GATEWAY_NAME}
defaults:
when:
- predicate: "request.path != '/health'"
rules:
authorization:
deny-all:
Expand Down

0 comments on commit e1af2b4

Please sign in to comment.