From 19ef55470b1f18d2546ea2dc2283db95565a204b Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Fri, 8 Dec 2023 15:59:55 +0200 Subject: [PATCH] test --- library/common/templates/lib/ingress/integrations/_traefik.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/common/templates/lib/ingress/integrations/_traefik.tpl b/library/common/templates/lib/ingress/integrations/_traefik.tpl index e61bddbc..5b0301ca 100644 --- a/library/common/templates/lib/ingress/integrations/_traefik.tpl +++ b/library/common/templates/lib/ingress/integrations/_traefik.tpl @@ -109,6 +109,8 @@ {{- end -}} {{- if not $found -}} + {{- fail (printf "%s\n\n%s" (toYaml $parsedMiddlewares) (toYaml $middlewares)) -}} + {{- fail (printf "Ingress - Middleware [%s] is not defined in any namespace. Create the middleware first." $mid.name) -}} {{- end -}} {{- end -}}