diff --git a/library/common/Chart.yaml b/library/common/Chart.yaml index 377e2622..0b25e2f6 100644 --- a/library/common/Chart.yaml +++ b/library/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 16.1.0 +version: 16.2.2 diff --git a/library/common/templates/lib/ingress/integrations/_traefik.tpl b/library/common/templates/lib/ingress/integrations/_traefik.tpl index e61bddbc..e4f043b5 100644 --- a/library/common/templates/lib/ingress/integrations/_traefik.tpl +++ b/library/common/templates/lib/ingress/integrations/_traefik.tpl @@ -107,10 +107,10 @@ {{- $found = true -}} {{- $midNamespace = $p.namespace -}} {{- end -}} + {{- end -}} - {{- if not $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 -}}