mirror of
https://github.com/truenas/charts.git
synced 2026-05-01 14:00:42 +08:00
17 lines
334 B
Smarty
17 lines
334 B
Smarty
{{- define "logseq.portal" -}}
|
|
{{- $protocol := "http" -}}
|
|
{{- if .Values.logseqNetwork.certificateID -}}
|
|
{{- $protocol = "https" -}}
|
|
{{- end }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: portal
|
|
data:
|
|
path: "/"
|
|
port: {{ .Values.logseqNetwork.webPort | quote }}
|
|
protocol: {{ $protocol }}
|
|
host: $node_ip
|
|
{{- end -}}
|