mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 02:22:56 +02:00
Change helm-immich
This commit is contained in:
+65
-6
@@ -37,37 +37,90 @@ spec:
|
|||||||
|
|
||||||
immich:
|
immich:
|
||||||
metrics:
|
metrics:
|
||||||
|
# Enabling this will create the service monitors needed to monitor immich with the prometheus operator
|
||||||
enabled: false
|
enabled: false
|
||||||
persistence:
|
persistence:
|
||||||
|
# Main data store for all photos shared between different components.
|
||||||
library:
|
library:
|
||||||
|
# Automatically creating the library volume is not supported by this chart
|
||||||
|
# You have to specify an existing PVC to use
|
||||||
existingClaim: immich-claim
|
existingClaim: immich-claim
|
||||||
|
|
||||||
# Disable built-in PostgreSQL - using CloudNativePG instead
|
# configuration is immich-config.json converted to yaml
|
||||||
|
# ref: https://immich.app/docs/install/config-file/
|
||||||
|
#
|
||||||
|
configuration: {}
|
||||||
|
# trash:
|
||||||
|
# enabled: false
|
||||||
|
# days: 30
|
||||||
|
# storageTemplate:
|
||||||
|
# enabled: true
|
||||||
|
# template: "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}"
|
||||||
|
|
||||||
|
# Dependencies
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
image:
|
||||||
|
repository: tensorchord/pgvecto-rs
|
||||||
|
tag: pg14-v0.2.0
|
||||||
|
global:
|
||||||
|
postgresql:
|
||||||
|
auth:
|
||||||
|
username: immich
|
||||||
|
database: immich
|
||||||
|
password: immich
|
||||||
|
primary:
|
||||||
|
containerSecurityContext:
|
||||||
|
readOnlyRootFilesystem: false
|
||||||
|
initdb:
|
||||||
|
scripts:
|
||||||
|
create-extensions.sql: |
|
||||||
|
CREATE EXTENSION cube;
|
||||||
|
CREATE EXTENSION earthdistance;
|
||||||
|
CREATE EXTENSION vectors;
|
||||||
|
resources:
|
||||||
|
limits: {}
|
||||||
|
requests:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 256Mi
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
image:
|
||||||
|
repository: bitnamilegacy/redis
|
||||||
architecture: standalone
|
architecture: standalone
|
||||||
auth:
|
auth:
|
||||||
enabled: false
|
enabled: false
|
||||||
master:
|
|
||||||
persistence:
|
# Immich components
|
||||||
storageClass: longhorn
|
|
||||||
|
|
||||||
server:
|
server:
|
||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/immich-app/immich-server
|
repository: ghcr.io/immich-app/immich-server
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
probes:
|
||||||
|
startup:
|
||||||
|
enabled: true
|
||||||
|
spec:
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 5
|
||||||
|
failureThreshold: 1000
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
annotations:
|
annotations:
|
||||||
|
# proxy-body-size is set to 0 to remove the body limit on file uploads
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||||
cert-manager.io/cluster-issuer: prod-cluster-issuer
|
cert-manager.io/cluster-issuer: prod-cluster-issuer
|
||||||
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
||||||
hosts:
|
hosts:
|
||||||
|
# - host: immich.hensen.io
|
||||||
|
# paths:
|
||||||
|
# - path: "/"
|
||||||
- host: mbg.hensen.io
|
- host: mbg.hensen.io
|
||||||
paths:
|
paths:
|
||||||
- path: "/"
|
- path: "/"
|
||||||
@@ -80,9 +133,11 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: sol-auth-svc
|
name: sol-auth-svc
|
||||||
port: 8002
|
port: 8002
|
||||||
|
|
||||||
tls:
|
tls:
|
||||||
- secretName: letsencrypt-prod
|
- secretName: letsencrypt-prod
|
||||||
hosts:
|
hosts:
|
||||||
|
# - immich.hensen.io
|
||||||
- mbg.hensen.io
|
- mbg.hensen.io
|
||||||
- foto.scoutingmbg.nl
|
- foto.scoutingmbg.nl
|
||||||
|
|
||||||
@@ -97,7 +152,11 @@ spec:
|
|||||||
cache:
|
cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
# Optional: Set this to pvc to avoid downloading the ML models every start.
|
||||||
type: emptyDir
|
type: emptyDir
|
||||||
|
accessMode: ReadWriteMany
|
||||||
|
# storageClass: your-class
|
||||||
|
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
|||||||
Reference in New Issue
Block a user