ofc, you dummy

This commit is contained in:
Stavros Kois
2023-12-08 16:36:10 +02:00
committed by GitHub
parent 65c0d33a2b
commit 11005073f5

View File

@@ -107,12 +107,10 @@
{{- $found = true -}}
{{- $midNamespace = $p.namespace -}}
{{- end -}}
{{- end -}}
{{- if not $found -}}
{{- fail (printf "Parsed:\n%s\n\nMiddlewares:\n%s\n\nmidName:%s\n\npName:%s\n\nfound:%s" (toYaml $parsedMiddlewares) (toYaml $middlewares) $mid.name $p.name $found) -}}
{{- fail (printf "Ingress - Middleware [%s] is not defined in any namespace. Create the middleware first." $mid.name) -}}
{{- end -}}
{{- if not $found -}}
{{- fail (printf "Ingress - Middleware [%s] is not defined in any namespace. Create the middleware first." $mid.name) -}}
{{- end -}}
{{- end -}}