add immich
This commit is contained in:
7
apps/immich/kustomization.yaml
Normal file
7
apps/immich/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- volume.yaml
|
||||
- postgres-cluster.yaml
|
||||
- release.yaml
|
||||
4
apps/immich/namespace.yaml
Normal file
4
apps/immich/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: immich
|
||||
28
apps/immich/postgres-cluster.yaml
Normal file
28
apps/immich/postgres-cluster.yaml
Normal 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
39
apps/immich/release.yaml
Normal 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
13
apps/immich/volume.yaml
Normal 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
|
||||
Reference in New Issue
Block a user