redis is required after all
This commit is contained in:
		| @@ -1,14 +1,16 @@ | |||||||
| apiVersion: kustomize.config.k8s.io/v1beta1 | apiVersion: kustomize.config.k8s.io/v1beta1 | ||||||
| kind: Kustomization | kind: Kustomization | ||||||
| resources:  | resources:  | ||||||
| - namespace.yaml |   - namespace.yaml | ||||||
| - ingress.yaml |   - ingress.yaml | ||||||
| - pvc.yaml |   - pvc.yaml | ||||||
| - postgres.yaml |   - postgres.yaml | ||||||
| - postgres.sealedsecret.yaml |   - postgres.sealedsecret.yaml | ||||||
|  |  | ||||||
|  |  | ||||||
| namespace: immich | namespace: immich | ||||||
|  |  | ||||||
|  |  | ||||||
| helmCharts: | helmCharts: | ||||||
|   - name: immich |   - name: immich | ||||||
|     releaseName: immich |     releaseName: immich | ||||||
| @@ -22,3 +24,10 @@ images: | |||||||
|     newTag: v1.108.0 |     newTag: v1.108.0 | ||||||
|   - name: ghcr.io/immich-app/immich-server |   - name: ghcr.io/immich-app/immich-server | ||||||
|     newTag: v1.108.0 |     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 | # These entries are shared between all the Immich components | ||||||
|  |  | ||||||
| env: | env: | ||||||
|   # REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}' |   REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}' | ||||||
|   DB_HOSTNAME: "immich-postgres-rw" |   DB_HOSTNAME: "immich-postgres-rw" | ||||||
|   DB_USERNAME:  |   DB_USERNAME:  | ||||||
|     valueFrom: |     valueFrom: | ||||||
| @@ -42,7 +42,7 @@ postgresql: | |||||||
|   enabled: false |   enabled: false | ||||||
|  |  | ||||||
| redis: | redis: | ||||||
|   enabled: false |   enabled: true | ||||||
|   architecture: standalone |   architecture: standalone | ||||||
|   auth: |   auth: | ||||||
|     enabled: false |     enabled: false | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user