mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-04 22:51:23 -03:00
ofc, you dummy
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user