2024-03-29 11:17:50 -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
|
2024-05-22 14:02:39 -05:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2024-03-29 11:17:50 -05:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: &name immich
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-04-04 02:04:28 -05:00
|
|
|
version: 3.1.0
|
2024-03-29 11:17:50 -05:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
strategy: rollback
|
|
|
|
values:
|
|
|
|
controllers:
|
|
|
|
immich-server:
|
|
|
|
type: statefulset
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
containers:
|
|
|
|
app:
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/immich-app/immich-server
|
2024-04-29 18:03:36 -05:00
|
|
|
tag: v1.103.1
|
2024-03-29 11:17:50 -05:00
|
|
|
command: /bin/sh
|
|
|
|
args:
|
|
|
|
- ./start-server.sh
|
|
|
|
probes:
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
spec:
|
|
|
|
failureThreshold: 30
|
|
|
|
periodSeconds: 5
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 512Mi
|
|
|
|
limits:
|
|
|
|
memory: 4Gi
|
|
|
|
env:
|
|
|
|
TZ: America/Chicago
|
|
|
|
DB_URL:
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
2024-05-02 06:43:58 -05:00
|
|
|
name: immich-secret
|
|
|
|
key: DATABASE_URI
|
2024-03-29 11:17:50 -05:00
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
2024-03-29 12:21:39 -05:00
|
|
|
name: immich-app-config
|
2024-03-29 11:17:50 -05:00
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: immich-server
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 3001
|
|
|
|
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
|
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
|
|
|
hosts:
|
|
|
|
- host: &host "im.hsn.dev"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
|
|
|
persistence:
|
|
|
|
media:
|
|
|
|
enabled: true
|
|
|
|
type: nfs
|
|
|
|
server: 10.1.1.13
|
|
|
|
path: /eru/media/immich
|
|
|
|
globalMounts:
|
|
|
|
- path: /usr/src/app/upload
|