patch middleware generation on common

This commit is contained in:
kjeld Schouten-Lebbing 2021-06-30 16:30:17 +02:00
parent 77bad93362
commit a8ea08cdec
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
2 changed files with 4 additions and 2 deletions

View File

@ -18,4 +18,4 @@ maintainers:
name: common name: common
sources: sources:
type: library type: library
version: 6.4.1 version: 6.4.2

View File

@ -44,8 +44,10 @@ within the common library.
{{- end }} {{- end }}
{{ end }} {{ end }}
{{- if $fixedMiddlewares }} {{- if and ( $fixedMiddlewares ) ( $middlewares ) }}
{{ $middlewares = ( printf "%v, %v" $fixedMiddlewares $middlewares ) }} {{ $middlewares = ( printf "%v, %v" $fixedMiddlewares $middlewares ) }}
{{- else if $fixedMiddlewares }}
{{ $middlewares = ( printf "%s" $fixedMiddlewares ) }}
{{ end }} {{ end }}
--- ---