mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 09:49:46 +08:00
* initial commit * some fixes * add TODO * update metadata and ui * add cert support * add default item in additional storage, add validation, extend readme
17 lines
351 B
Smarty
17 lines
351 B
Smarty
{{- define "filebrowser.portal" -}}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: portal
|
|
data:
|
|
{{- $scheme := "http" -}}
|
|
{{- if .Values.filebrowserNetwork.certificateID -}}
|
|
{{- $scheme = "https" -}}
|
|
{{- end }}
|
|
path: "/"
|
|
port: {{ .Values.filebrowserNetwork.webPort | quote }}
|
|
protocol: {{ $scheme }}
|
|
host: $node_ip
|
|
{{- end -}}
|