Files
charts/library/ix-dev/enterprise/syncthing/templates/_portal.tpl
T
Stavros Kois a8de996f6e NAS-122105 / 23.10 / Add Syncthing to enterprise train (#1217)
* Add syncthing to enterprise train

* add readme

* use different default webui port

* add update_strategy/info
2023-06-05 16:12:30 +03:00

17 lines
311 B
Smarty

{{- define "syncthing.portal" -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: portal
data:
path: "/"
host: "$node_ip"
port: {{ .Values.syncthingNetwork.webPort | quote }}
{{- if .Values.syncthingNetwork.certificateID }}
protocol: https
{{- else }}
protocol: http
{{- end }}
{{- end -}}