From e1af2b41bdbe76ba8064475ca9e86c734c5d4753 Mon Sep 17 00:00:00 2001 From: R-Lawton Date: Fri, 6 Dec 2024 11:57:56 +0000 Subject: [PATCH] fix health checks Signed-off-by: R-Lawton --- .../full-walkthrough/secure-protect-connect-openshift.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/user-guides/full-walkthrough/secure-protect-connect-openshift.md b/doc/user-guides/full-walkthrough/secure-protect-connect-openshift.md index 351286b8b..bf90a642f 100644 --- a/doc/user-guides/full-walkthrough/secure-protect-connect-openshift.md +++ b/doc/user-guides/full-walkthrough/secure-protect-connect-openshift.md @@ -191,6 +191,10 @@ spec: path: type: PathPrefix value: "/cars" + - method: GET + path: + type: PathPrefix + value: "/health" backendRefs: - name: toystore port: 80 @@ -214,6 +218,8 @@ spec: kind: Gateway name: ${KUADRANT_GATEWAY_NAME} defaults: + when: + - predicate: "request.path != '/health'" rules: authorization: deny-all: