mirror of
https://github.com/truenas/charts.git
synced 2026-04-28 12:32:55 +08:00
* initial commit * add metadata * add readme * add common * extend upgrade_strategy * add initial templates * add qs * fix path * fix typo * quote nums * add some integrations * try dobule underscore * add service lists and test variable * update quetsions * double is the one * add passive port range on ftpd * fix webdav * formatting * https * test plugin too * services * remove todo * add data storage * fix portal, ui and services * only if there are defined
19 lines
589 B
Smarty
19 lines
589 B
Smarty
{{- define "sftpgo.service" -}}
|
|
service:
|
|
sftpgo:
|
|
enabled: true
|
|
primary: true
|
|
type: NodePort
|
|
targetSelector: sftpgo
|
|
ports:
|
|
webui:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.sftpgoNetwork.webPort }}
|
|
nodePort: {{ .Values.sftpgoNetwork.webPort }}
|
|
targetSelector: sftpgo
|
|
{{- include "sftpgo.svc.gen" (dict "rootCtx" $ "type" "sftpd") | nindent 2 }}
|
|
{{- include "sftpgo.svc.gen" (dict "rootCtx" $ "type" "ftpd") | nindent 2 }}
|
|
{{- include "sftpgo.svc.gen" (dict "rootCtx" $ "type" "webdavd") | nindent 2 }}
|
|
{{- end -}}
|