Compare commits
2 Commits
74fa04325b
...
b270484c5a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b270484c5a | ||
| 72608dc3d1 |
@@ -18,13 +18,13 @@ spec:
|
||||
initContainers:
|
||||
- name: init-cleanup
|
||||
image: busybox
|
||||
command: ["rm", "-rf", "/var/lib/postgresql/data/lost+found"]
|
||||
command: ["rm", "-rf", "/var/lib/postgresql/lost+found"]
|
||||
volumeMounts:
|
||||
- name: db
|
||||
mountPath: /var/lib/postgresql/data
|
||||
- name: gitea-db
|
||||
mountPath: /var/lib/postgresql
|
||||
containers:
|
||||
- name: gitea-db
|
||||
image: postgres:15.14
|
||||
image: postgres:18
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
env:
|
||||
@@ -38,9 +38,9 @@ spec:
|
||||
- name: POSTGRES_DB
|
||||
value: "gitea"
|
||||
volumeMounts:
|
||||
- name: db
|
||||
mountPath: /var/lib/postgresql/data
|
||||
- name: gitea-db
|
||||
mountPath: /var/lib/postgresql
|
||||
volumes:
|
||||
- name: db
|
||||
- name: gitea-db
|
||||
persistentVolumeClaim:
|
||||
claimName: gitea-db-longhorn
|
||||
claimName: gitea-db-new-longhorn
|
||||
|
||||
@@ -17,7 +17,7 @@ spec:
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: gitea-db-longhorn
|
||||
name: gitea-db-new-longhorn
|
||||
namespace: git-ops
|
||||
spec:
|
||||
accessModes:
|
||||
@@ -25,5 +25,5 @@ spec:
|
||||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
storage: 2Gi
|
||||
storageClassName: longhorn
|
||||
|
||||
@@ -39,7 +39,7 @@ spec:
|
||||
done
|
||||
containers:
|
||||
- name: immich-server
|
||||
image: ghcr.io/immich-app/immich-server:v2.2.0
|
||||
image: ghcr.io/immich-app/immich-server:v2.2.1
|
||||
ports:
|
||||
- containerPort: 2283
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user