redis is required after all
This commit is contained in:
		| @@ -1,14 +1,16 @@ | ||||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||||
| kind: Kustomization | ||||
| resources:  | ||||
| - namespace.yaml | ||||
| - ingress.yaml | ||||
| - pvc.yaml | ||||
| - postgres.yaml | ||||
| - postgres.sealedsecret.yaml | ||||
|   - namespace.yaml | ||||
|   - ingress.yaml | ||||
|   - pvc.yaml | ||||
|   - postgres.yaml | ||||
|   - postgres.sealedsecret.yaml | ||||
|  | ||||
|  | ||||
| namespace: immich | ||||
|  | ||||
|  | ||||
| helmCharts: | ||||
|   - name: immich | ||||
|     releaseName: immich | ||||
| @@ -22,3 +24,10 @@ images: | ||||
|     newTag: v1.108.0 | ||||
|   - name: ghcr.io/immich-app/immich-server | ||||
|     newTag: v1.108.0 | ||||
|  | ||||
|  | ||||
| patches: | ||||
|   - path: patch-redis-pvc.yaml | ||||
|     target: | ||||
|       kind: StatefulSet | ||||
|       name: immich-redis-master | ||||
							
								
								
									
										17
									
								
								apps/immich/patch-redis-pvc.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								apps/immich/patch-redis-pvc.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| apiVersion: apps/v1 | ||||
| kind: StatefulSet | ||||
| metadata: | ||||
|   name: immich-redis-master | ||||
| spec: | ||||
|   volumeClaimTemplates: | ||||
|   - apiVersion: v1 | ||||
|     kind: PersistentVolumeClaim | ||||
|     metadata: | ||||
|       name: redis-data | ||||
|     spec: | ||||
|       storageClassName: nfs-client | ||||
|       accessModes: | ||||
|         - ReadWriteMany | ||||
|       resources: | ||||
|         requests: | ||||
|           storage: 2Gi | ||||
| @@ -5,7 +5,7 @@ | ||||
| # These entries are shared between all the Immich components | ||||
|  | ||||
| env: | ||||
|   # REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}' | ||||
|   REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}' | ||||
|   DB_HOSTNAME: "immich-postgres-rw" | ||||
|   DB_USERNAME:  | ||||
|     valueFrom: | ||||
| @@ -42,7 +42,7 @@ postgresql: | ||||
|   enabled: false | ||||
|  | ||||
| redis: | ||||
|   enabled: false | ||||
|   enabled: true | ||||
|   architecture: standalone | ||||
|   auth: | ||||
|     enabled: false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user