add file before upgrade
This commit is contained in:
+17
-3
@@ -530,14 +530,14 @@ spec:
|
||||
app.kubernetes.io/name: server
|
||||
app.kubernetes.io/instance: immich
|
||||
spec:
|
||||
|
||||
serviceAccountName: default
|
||||
automountServiceAccountToken: true
|
||||
dnsPolicy: ClusterFirst
|
||||
enableServiceLinks: true
|
||||
containers:
|
||||
- name: immich-server
|
||||
image: ghcr.io/immich-app/immich-server:v1.111.0
|
||||
# image: ghcr.io/immich-app/immich-server:v1.111.0
|
||||
image: ghcr.io/immich-app/immich-server:v1.115.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: DB_DATABASE_NAME
|
||||
@@ -552,6 +552,8 @@ spec:
|
||||
value: http://immich-machine-learning:3003
|
||||
- name: REDIS_HOSTNAME
|
||||
value: immich-redis-master
|
||||
- name: UPLOAD_LOCATION
|
||||
value: /openmediavault/Images
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3001
|
||||
@@ -559,6 +561,9 @@ spec:
|
||||
volumeMounts:
|
||||
- name: library
|
||||
mountPath: /usr/src/app/upload
|
||||
# - name: openmediavault
|
||||
# mountPath: /openmediavault
|
||||
|
||||
# livenessProbe:
|
||||
# failureThreshold: 3
|
||||
# httpGet:
|
||||
@@ -576,9 +581,18 @@ spec:
|
||||
# periodSeconds: 10
|
||||
# timeoutSeconds: 1
|
||||
volumes:
|
||||
# - name: library
|
||||
# persistentVolumeClaim:
|
||||
# claimName: immich-storage
|
||||
- name: library
|
||||
persistentVolumeClaim:
|
||||
claimName: immich-storage
|
||||
claimName: immich-storage-fastaccess
|
||||
|
||||
# - name: openmediavault
|
||||
# nfs:
|
||||
# server: 192.168.88.42
|
||||
# path: /shared_raid
|
||||
# readOnly: false
|
||||
---
|
||||
# Source: immich/charts/postgresql/templates/primary/statefulset.yaml
|
||||
apiVersion: apps/v1
|
||||
|
||||
Reference in New Issue
Block a user