mirror of
https://github.com/truenas/charts.git
synced 2026-04-27 20:13:21 +08:00
* make a syncthing copy under test train * add test catalog in CI * bump common * add smb option
17 lines
311 B
Smarty
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 -}}
|