Files
chart/library/ix-dev/community/filebrowser/templates/_portal.tpl
Stavros Kois c47542a99a NAS-122653 / 23.10 / Adds filebrowser to community train (#1299)
* initial commit

* some fixes

* add TODO

* update metadata and ui

* add cert support

* add default item in additional storage, add validation, extend readme
2023-07-03 14:50:35 +03:00

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 -}}