Skip to content

Commit

Permalink
Fixed _helpers file
Browse files Browse the repository at this point in the history
  • Loading branch information
FROD-Neotys committed Nov 6, 2024
1 parent 9e6b7a4 commit 3f3eb75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ High Availability (HA) Mode
Define webapp host, default to .Values.services.webapp.host but can be overrided by .Values.extra.hosts.webapp
*/}}
{{- define "nlweb.webapp.host" -}}
{{- if ((.Values.extra.hosts).webapp) -}}
{{- if (((.Values.extra).hosts).webapp) -}}
{{- .Values.extra.hosts.webapp -}}
{{- else -}}
{{- .Values.services.webapp.host -}}
Expand All @@ -194,7 +194,7 @@ Define webapp host, default to .Values.services.webapp.host but can be overrided
Define api host, default to .Values.services.api.host but can be overrided by .Values.extra.hosts.api
*/}}
{{- define "nlweb.api.host" -}}
{{- if ((.Values.extra.hosts).api) -}}
{{- if (((.Values.extra).hosts).api) -}}
{{- .Values.extra.hosts.api -}}
{{- else -}}
{{- .Values.services.api.host -}}
Expand All @@ -205,7 +205,7 @@ Define api host, default to .Values.services.api.host but can be overrided by .V
Define files host, default to .Values.services.files.host but can be overrided by .Values.extra.hosts.files
*/}}
{{- define "nlweb.files.host" -}}
{{- if ((.Values.extra.hosts).files) -}}
{{- if (((.Values.extra).hosts).files) -}}
{{- .Values.extra.hosts.files -}}
{{- else -}}
{{- .Values.services.files.host -}}
Expand Down

0 comments on commit 3f3eb75

Please sign in to comment.