mirror of
https://github.com/truenas/charts.git
synced 2026-04-14 02:30:53 +08:00
* init commit * add few templates * add initial implementation * typo * add host * fix lint * whops * quote * fix permisions * no port * fix probes * test user * readme * add ui * typo * use shortcut for regex * add redis on metadata * clean notes * fixed path * move down * fix upgrade json
7 lines
344 B
Smarty
7 lines
344 B
Smarty
{{- define "n8n.validation" -}}
|
|
{{- $host := .Values.n8nConfig.webHost -}}
|
|
{{- if or (hasPrefix "http://" $host) (hasPrefix "https://" $host) (hasSuffix "/" $host) (contains ":" $host) -}}
|
|
{{- fail "n8n - Do not start with [http(s)://] or have a trailing slash [/] or have port [:###] in [Web Host] field" -}}
|
|
{{- end -}}
|
|
{{- end -}}
|