Files
chart/library/ix-dev/community/firefly-iii/templates/_service.tpl
2023-11-09 09:52:17 +02:00

42 lines
1.0 KiB
Smarty

{{- define "firefly.service" -}}
service:
firefly:
enabled: true
primary: true
type: NodePort
targetSelector: firefly
ports:
webui:
enabled: true
primary: true
port: {{ .Values.fireflyNetwork.webPort }}
nodePort: {{ .Values.fireflyNetwork.webPort }}
targetPort: 8080
targetSelector: firefly
firefly-importer:
enabled: {{ .Values.fireflyConfig.enableImporter }}
type: NodePort
targetSelector: firefly-importer
ports:
webui:
enabled: true
primary: true
port: {{ .Values.fireflyNetwork.importerPort }}
nodePort: {{ .Values.fireflyNetwork.importerPort }}
targetPort: 8080
targetSelector: firefly-importer
redis:
enabled: true
type: ClusterIP
targetSelector: redis
ports:
redis:
enabled: true
primary: true
port: 6379
targetPort: 6379
targetSelector: redis
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
{{- end -}}