Files
chart/library/ix-dev/community/n8n/templates/_portal.tpl
Stavros Kois 1c3f7eaf4a NAS-123991 / 24.04 / add n8n to community train (#1520)
* 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
2023-09-12 21:37:16 +03:00

19 lines
407 B
Smarty

{{- define "n8n.portal" -}}
{{- $protocol := "http" -}}
{{- if .Values.n8nNetwork.certificateID -}}
{{- $protocol = "https" -}}
{{- end -}}
{{- $host := .Values.n8nConfig.webHost -}}
{{- $port := .Values.n8nNetwork.webPort -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: portal
data:
port: {{ $port | quote }}
path: "/"
protocol: {{ $protocol }}
host: {{ $host }}
{{- end -}}