2024-03-28 20:33:05 -05:00
|
|
|
---
|
|
|
|
# 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: &name immich
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
|
|
|
version: 3.0.4
|
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
strategy: rollback
|
|
|
|
values:
|
|
|
|
controllers:
|
2024-03-29 06:46:47 -05:00
|
|
|
immich-server:
|
2024-03-28 20:33:05 -05:00
|
|
|
type: statefulset
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
containers:
|
|
|
|
app:
|
|
|
|
image:
|
2024-03-29 06:46:47 -05:00
|
|
|
repository: ghcr.io/immich-app/immich-server
|
|
|
|
tag: v1.100.0
|
|
|
|
command: /bin/sh
|
|
|
|
args:
|
|
|
|
- ./start-server.sh
|
2024-03-28 20:33:05 -05:00
|
|
|
probes:
|
2024-03-29 06:46:47 -05:00
|
|
|
startup:
|
2024-03-28 20:33:05 -05:00
|
|
|
enabled: true
|
|
|
|
spec:
|
2024-03-29 06:46:47 -05:00
|
|
|
failureThreshold: 30
|
|
|
|
periodSeconds: 5
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
2024-03-28 20:33:05 -05:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 512Mi
|
|
|
|
limits:
|
|
|
|
memory: 4Gi
|
2024-03-29 06:46:47 -05:00
|
|
|
env:
|
|
|
|
TZ: America/Chicago
|
|
|
|
DB_URL:
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: immich-pguser-immich
|
|
|
|
key: uri
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: immich-secret
|
|
|
|
- configMapRef:
|
|
|
|
name: immich-config
|
2024-03-28 20:33:05 -05:00
|
|
|
pod:
|
|
|
|
enableServiceLinks: false
|
|
|
|
securityContext:
|
|
|
|
runAsUser: 568
|
|
|
|
runAsGroup: 568
|
|
|
|
fsGroup: 568
|
|
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
|
|
service:
|
|
|
|
app:
|
2024-03-29 06:46:47 -05:00
|
|
|
controller: immich-server
|
2024-03-28 20:33:05 -05:00
|
|
|
ports:
|
|
|
|
http:
|
2024-03-29 06:46:47 -05:00
|
|
|
port: 3001
|
2024-03-28 20:33:05 -05:00
|
|
|
ingress:
|
|
|
|
app:
|
|
|
|
enabled: true
|
|
|
|
className: external-nginx
|
|
|
|
annotations:
|
|
|
|
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
|
|
|
external-dns.alpha.kubernetes.io/target: external.hsn.dev
|
2024-03-29 06:46:47 -05:00
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
2024-03-28 20:33:05 -05:00
|
|
|
hosts:
|
2024-03-29 06:46:47 -05:00
|
|
|
- host: &host "im.hsn.dev"
|
2024-03-28 20:33:05 -05:00
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
existingClaim: immich
|
|
|
|
enabled: true
|
|
|
|
media:
|
|
|
|
enabled: true
|
|
|
|
type: nfs
|
2024-03-29 11:16:40 -05:00
|
|
|
server: 10.1.1.13
|
2024-03-28 20:33:05 -05:00
|
|
|
path: /eru/media/immich
|
|
|
|
globalMounts:
|
2024-03-29 06:46:47 -05:00
|
|
|
- path: /usr/src/app/upload
|