add immich

This commit is contained in:
2025-07-24 02:27:27 +02:00
parent 9765f1cf86
commit 718a0d7e33
6 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- volume.yaml
- postgres-cluster.yaml
- release.yaml

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: immich

View File

@@ -0,0 +1,28 @@
---
apiVersion: postgresql.cnpg.io/v1
kind: ImageCatalog
metadata:
name: immich
namespace: immich
spec:
images:
- major: 17
image: docker.io/tensorchord/pgvecto-rs:pg17-v0.4.0-rootless
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: immich
namespace: immich
spec:
imageCatalogRef:
apiGroup: postgresql.cnpg.io
kind: ImageCatalog
name: immich
major: 17
instances: 1
storage:
size: 10Gi
storageClass: mayastor-single-hdd

39
apps/immich/release.yaml Normal file
View File

@@ -0,0 +1,39 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: immich
namespace: immich
spec:
interval: 24h
type: "oci"
url: oci://ghcr.io/immich-app/immich-charts
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: immich
namespace: immich
spec:
interval: 30m
chart:
spec:
chart: immich
version: 0.9.3
sourceRef:
kind: HelmRepository
name: immich
values:
immich:
persistence:
library:
existingClaim: library
redis:
enabled: true
postgresql:
global:
postgresql:
auth:
existingSecret:

13
apps/immich/volume.yaml Normal file
View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: library
namespace: immich
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 50Gi
storageClassName: mayastor-single-hdd

View File

@@ -8,3 +8,4 @@ resources:
- librechat - librechat
- frigate - frigate
- llama - llama
- immich