mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
fix(common): Release v4.1.1 (#428)
This commit is contained in:
parent
ce1c8adedb
commit
72cbacc0cd
7 changed files with 88 additions and 39 deletions
|
@ -7,6 +7,10 @@ Autodetects the service for a Route object
|
|||
{{- $enabledServices := (include "bjw-s.common.lib.service.enabledServices" (dict "rootContext" $rootContext) | fromYaml ) -}}
|
||||
|
||||
{{- if eq 1 (len $enabledServices) -}}
|
||||
{{- if empty $routeObject.rules -}}
|
||||
{{- $_ := set $routeObject "rules" (list (dict "backendRefs" (list dict))) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- range $routeObject.rules -}}
|
||||
{{- range .backendRefs }}
|
||||
{{- $backendRef := . -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue