mirror of
https://github.com/truenas/charts.git
synced 2026-11-25 07:22:02 +00:00
* initial commit * add some todo * extend config * remove typesense url * add microservices * add proxy and typesense * ML * fix configmap * fixup config * change range * one more * add some inits * ts dont need to wait for server * wait web * add redis * fix redis * wrong space * type * add redis service * conditional services * fix redis... * add caps * fix capabilities * fix service * add tests * fix conditional pods * fix upgrade_strategy * fix config * lint * whops * update strategy * make robust * cleaner * fix regex * Take a copy of the resources before we start doing modifications * regen commontgz * bump versions * add pullPolicy * regen common * bump version * bump * bump helm * regen common * Update library/ix-dev/community/immich/values.yaml * bump * update resources validation
106 lines
2.2 KiB
Smarty
106 lines
2.2 KiB
Smarty
{{- define "immich.service" -}}
|
|
service:
|
|
proxy:
|
|
enabled: true
|
|
primary: true
|
|
type: NodePort
|
|
targetSelector: proxy
|
|
ports:
|
|
proxy:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.immichNetwork.webuiPort }}
|
|
nodePort: {{ .Values.immichNetwork.webuiPort }}
|
|
protocol: http
|
|
targetPort: 8080
|
|
targetSelector: proxy
|
|
|
|
server:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: server
|
|
ports:
|
|
server:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.immichNetwork.serverPort }}
|
|
protocol: http
|
|
targetSelector: server
|
|
|
|
web:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: web
|
|
ports:
|
|
web:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.immichNetwork.webPort }}
|
|
protocol: http
|
|
targetSelector: web
|
|
|
|
microservices:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: microservices
|
|
ports:
|
|
microservices:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.immichNetwork.microservicesPort }}
|
|
protocol: http
|
|
targetSelector: microservices
|
|
|
|
{{- if .Values.immichConfig.enableML }}
|
|
machinelearning:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: machinelearning
|
|
ports:
|
|
machinelearning:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.immichNetwork.machinelearningPort }}
|
|
protocol: http
|
|
targetSelector: machinelearning
|
|
{{- end -}}
|
|
|
|
{{- if .Values.immichConfig.enableTypesense }}
|
|
typesense:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: typesense
|
|
ports:
|
|
typesense:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.immichNetwork.typesensePort }}
|
|
protocol: http
|
|
targetSelector: typesense
|
|
{{- end }}
|
|
|
|
redis:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: redis
|
|
ports:
|
|
redis:
|
|
enabled: true
|
|
primary: true
|
|
port: 6379
|
|
targetPort: 6379
|
|
targetSelector: redis
|
|
|
|
postgres:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: postgres
|
|
ports:
|
|
postgres:
|
|
enabled: true
|
|
primary: true
|
|
port: 5432
|
|
targetPort: 5432
|
|
targetSelector: postgres
|
|
{{- end -}}
|