scale-catalog/stable/immich/15.13.9/templates/_server.tpl
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

38 lines
815 B
Smarty

{{- define "immich.server" -}}
enabled: true
primary: true
imageSelector: image
resources:
excludeExtra: true
command: /bin/sh
args:
- -c
- /usr/src/app/start-server.sh
securityContext:
capabilities:
disableS6Caps: true
envFrom:
- configMapRef:
name: server-config
- configMapRef:
name: common-config
- secretRef:
name: deps-secret
probes:
liveness:
enabled: true
type: http
path: /api/server-info/ping
port: {{ .Values.service.main.ports.main.port }}
readiness:
enabled: true
type: http
path: /api/server-info/ping
port: {{ .Values.service.main.ports.main.port }}
startup:
enabled: true
type: http
path: /api/server-info/ping
port: {{ .Values.service.main.ports.main.port }}
{{- end -}}