2024-03-23 01:09:37 +00:00
|
|
|
{{- define "immich.server" -}}
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
imageSelector: image
|
2024-03-27 09:32:19 +00:00
|
|
|
resources:
|
|
|
|
excludeExtra: true
|
2024-03-23 01:09:37 +00:00
|
|
|
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 -}}
|