Files
chart/library/ix-dev/community/sftpgo/templates/_service.tpl
Stavros Kois b1ec000492 Add sftpgo to community train (#1601)
* 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
2023-10-06 16:39:28 +03:00

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