Files
chart/library/ix-dev/test/syncthing/templates/_portal.tpl
Stavros Kois 47e6a12518 NAS-123851 / 24.04 / Add SMB PV/PVC to Syncthing - test train (#1499)
* make a syncthing copy under test train

* add test catalog in CI

* bump common

* add smb option
2023-09-06 15:38:28 +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 -}}