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