scale-catalog/stable/immich/14.16.16/templates/_server.tpl

38 lines
815 B
Smarty
Raw Normal View History

2024-07-13 07:59:30 +00:00
{{- 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 -}}