85 lines
2.1 KiB
YAML
85 lines
2.1 KiB
YAML
|
---
|
||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||
|
kind: HelmRelease
|
||
|
metadata:
|
||
|
name: immich-machine-learning
|
||
|
spec:
|
||
|
interval: 15m
|
||
|
chart:
|
||
|
spec:
|
||
|
chart: app-template
|
||
|
version: 3.0.4
|
||
|
sourceRef:
|
||
|
kind: HelmRepository
|
||
|
name: bjw-s-charts
|
||
|
namespace: flux-system
|
||
|
interval: 15m
|
||
|
install:
|
||
|
remediation:
|
||
|
retries: 3
|
||
|
upgrade:
|
||
|
cleanupOnFail: true
|
||
|
remediation:
|
||
|
retries: 3
|
||
|
strategy: rollback
|
||
|
values:
|
||
|
controllers:
|
||
|
immich-machine-learning:
|
||
|
annotations:
|
||
|
reloader.stakater.com/auto: "true"
|
||
|
strategy: RollingUpdate
|
||
|
containers:
|
||
|
app:
|
||
|
image:
|
||
|
repository: ghcr.io/immich-app/immich-machine-learning
|
||
|
tag: v1.100.0
|
||
|
resources:
|
||
|
requests:
|
||
|
cpu: 15m
|
||
|
memory: 250Mi
|
||
|
limits:
|
||
|
memory: 4000Mi
|
||
|
probes:
|
||
|
startup:
|
||
|
enabled: true
|
||
|
spec:
|
||
|
failureThreshold: 30
|
||
|
periodSeconds: 5
|
||
|
liveness:
|
||
|
enabled: true
|
||
|
readiness:
|
||
|
enabled: true
|
||
|
envFrom:
|
||
|
- configMapRef:
|
||
|
name: immich-config
|
||
|
env:
|
||
|
DB_URL:
|
||
|
valueFrom:
|
||
|
secretKeyRef:
|
||
|
name: immich-pguser-immich
|
||
|
key: uri
|
||
|
pod:
|
||
|
enableServiceLinks: false
|
||
|
securityContext:
|
||
|
runAsUser: 568
|
||
|
runAsGroup: 568
|
||
|
fsGroup: 568
|
||
|
fsGroupChangePolicy: OnRootMismatch
|
||
|
service:
|
||
|
app:
|
||
|
controller: immich-machine-learning
|
||
|
ports:
|
||
|
http:
|
||
|
port: 3003
|
||
|
persistence:
|
||
|
media:
|
||
|
enabled: true
|
||
|
type: nfs
|
||
|
server: 10.1.1.13
|
||
|
path: /eru/media/immich
|
||
|
globalMounts:
|
||
|
- path: /usr/src/app/upload
|
||
|
cache:
|
||
|
enabled: true
|
||
|
type: emptyDir
|