Split manifests into infra/ and applications/

This commit is contained in:
2026-06-21 12:14:38 +02:00
parent 64e8bf7d78
commit c40577589d
360 changed files with 69 additions and 67 deletions

View File

@@ -0,0 +1,53 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
namespace: immich
name: immich-postgresql
spec:
replicas: 1
serviceName: immich-postgresql
selector:
matchLabels:
app: immich-postgresql
template:
metadata:
labels:
app: immich-postgresql
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 60
containers:
- name: immich-postgresql
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "500m"
ports:
- containerPort: 5432
volumeMounts:
- name: immich-postgresql-immich
mountPath: /var/lib/postgresql/pgdata
env:
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: immich-secrets
key: db_password
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
name: immich-secrets
key: db_user
- name: POSTGRES_DB
valueFrom:
secretKeyRef:
name: immich-secrets
key: db_name
volumes:
- name: immich-postgresql-immich
persistentVolumeClaim:
claimName: immich-postgresql-pvc