chore: Sync cluster data.

This commit is contained in:
Tera << 8 2024-12-31 22:59:57 -05:00
parent 7e886e16c6
commit e18821eacd
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
10 changed files with 109 additions and 38 deletions

View file

@ -7,7 +7,7 @@ mode = helm
depends_on = traefik:longhorn_storage_class
[#forgejo/helm]
mode = install
mode = upgrade
name = forgejo-personal
repo = oci://code.forgejo.org/forgejo-helm/forgejo
options_file = forgejo.yml

View file

@ -1,3 +1,6 @@
env:
DB_HOSTNAME: "postgres-postgresql"
immich:
persistence:
library:
@ -14,11 +17,7 @@ redis:
enabled: true
postgresql:
enabled: true
primary:
resources:
limits:
memory: 1024Mi
enabled: false
server:
ingress:
@ -26,4 +25,4 @@ server:
enabled: true
image:
tag: v1.121.0
tag: v1.123.0

View file

@ -0,0 +1,34 @@
[meta]
format_ver = 1
[immich_real_pvc]
description = Immich PVC
mode = k3s
depends_on = immich_postgres
[#immich_real_pvc/k3s]
mode = install
yml_path = ./pvc.yml
[immich_real_repo]
description = Immich Helm Repository
mode = helm
depends_on = immich_real_pvc
[#immich_real_repo/helm]
mode = add_repo
name = immich
repo = https://immich-app.github.io/immich-charts
[immich]
description = Immich Software
mode = helm
depends_on = immich_real_repo
[#immich/helm]
mode = upgrade
name = immich
repo = immich/immich
variable_file = ../../../secrets/immich.env
options_file = ./immich.yml
namespace = immich

View file

@ -0,0 +1,26 @@
image:
repository: tensorchord/pgvecto-rs
tag: pg14-v0.2.0
global:
security:
allowInsecureImages: true
postgresql:
auth:
username: immich
database: immich
password: immich
primary:
containerSecurityContext:
readOnlyRootFilesystem: false
persistence:
enabled: true
existingClaim: data-immich-postgresql-0
resources:
limits:
memory: 1024Mi
initdb:
scripts:
create-extensions.sql: |
CREATE EXTENSION cube;
CREATE EXTENSION earthdistance;
CREATE EXTENSION vectors;

View file

@ -0,0 +1,21 @@
[meta]
format_ver = 1
[immich_postgres_pvc]
description = PVC claim for Postgres
mode = k3s
[#immich_postgres_pvc/k3s]
mode = install
yml_path = ./pvc.yml
[immich_postgres]
description = Postgres configuration for Immich
mode = helm
[#immich_postgres/helm]
mode = upgrade
name = postgres
repo = oci://registry-1.docker.io/bitnamicharts/postgresql
options_file = ./postgres.yml
namespace = immich

View file

@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data-immich-postgresql-0
namespace: immich
spec:
storageClassName: longhorn
accessModes:
- ReadWriteMany
resources:
requests:
storage: 16Gi

View file

@ -2,7 +2,7 @@
format_ver = 1
[immich_namespace]
description = Immich Namespace
description = Namespace for Immich to reside in
mode = k3s
depends_on = traefik:nfs_provisioner
@ -10,34 +10,10 @@ depends_on = traefik:nfs_provisioner
mode = install
yml_path = ./namespace.yml
[immich_pvc]
description = Immich PVC
mode = k3s
depends_on = immich_namespace
[immich_db]
mode = include
path = ./postgres/project.ini
[#immich_pvc/k3s]
mode = install
yml_path = ./pvc.yml
[immich_repo]
description = Immich Helm Repository
mode = helm
depends_on = immich_pvc
[#immich_repo/helm]
mode = add_repo
name = immich
repo = https://immich-app.github.io/immich-charts
[immich]
description = Immich Software
mode = helm
depends_on = immich_repo
[#immich/helm]
mode = upgrade
name = immich
repo = immich/immich
variable_file = ../../secrets/immich.env
options_file = ./immich.yml
namespace = immich
[immich_real]
mode = include
path = ./immich/project.ini

View file

@ -0,0 +1,2 @@
defaultSettings:
taintToleration: node-role.kubernetes.io/master=true:NoSchedule

View file

@ -18,6 +18,7 @@ mode = install
name = longhorn
repo = longhorn/longhorn
namespace = longhorn-system
options_file = longhorn.yml
create_namespace = true
[longhorn_storage_class]