⬆️ immich app-template v2

This commit is contained in:
auricom
2023-11-01 14:36:08 +01:00
parent d081f8a018
commit c3d02f144a
9 changed files with 272 additions and 279 deletions

View File

@@ -10,74 +10,73 @@ spec:
chart:
spec:
chart: app-template
version: 1.5.1
version: 2.0.3
interval: 30m
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
dependsOn:
- name: immich-server
- name: immich-redis
values:
controller:
strategy: Recreate
annotations:
configmap.reloader.stakater.com/reload: &configMap immich-configmap
secret.reloader.stakater.com/reload: &secret immich-secret
image:
repository: ghcr.io/immich-app/immich-machine-learning
tag: v1.83.0
envFrom:
- configMapRef:
name: *configMap
- secretRef:
name: *secret
controllers:
main:
strategy: RollingUpdate
annotations:
configmap.reloader.stakater.com/reload: &configMap immich-configmap
secret.reloader.stakater.com/reload: &secret immich-secret
containers:
main:
image:
repository: ghcr.io/immich-app/immich-machine-learning
tag: v1.83.0
envFrom:
- configMapRef:
name: *configMap
- secretRef:
name: *secret
resources:
requests:
cpu: 100m
memory: 274M
limits:
memory: 3949M
pod:
enableServiceLinks: false
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
service:
main:
ports:
http:
port: 3003
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
persistence:
library:
enabled: true
type: persistentVolumeClaim
existingClaim: immich-nfs
mountPath: /usr/src/app/upload
globalMounts:
- path: /usr/src/app/upload
cache:
enabled: true
type: persistentVolumeClaim
existingClaim: immich-machine-learning-cache
mountPath: /cache
globalMounts:
- path: /cache
geocoding-dump:
enabled: true
type: emptyDir
mountPath: /usr/src/app/.reverse-geocoding-dump
globalMounts:
- path: /usr/src/app/.reverse-geocoding-dump
transformers-cache:
enabled: true
type: emptyDir
mountPath: /usr/src/app/.transformers_cache
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 100m
memory: 250Mi
globalMounts:
- path: /usr/src/app/.transformers_cache