local postgres
This commit is contained in:
parent
285a7541ca
commit
2e4e033c36
@ -4,6 +4,7 @@ resources:
|
|||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
- pvc.yaml
|
- pvc.yaml
|
||||||
|
- postgres.yaml
|
||||||
- postgres.sealedsecret.yaml
|
- postgres.sealedsecret.yaml
|
||||||
|
|
||||||
namespace: immich
|
namespace: immich
|
||||||
|
21
apps/immich/postgres.yaml
Normal file
21
apps/immich/postgres.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
|
kind: Cluster
|
||||||
|
metadata:
|
||||||
|
name: immich-postgres
|
||||||
|
spec:
|
||||||
|
instances: 1
|
||||||
|
imageName: ghcr.io/cloudnative-pg/postgresql:15
|
||||||
|
|
||||||
|
bootstrap:
|
||||||
|
initdb:
|
||||||
|
owner: immich
|
||||||
|
database: immich
|
||||||
|
secret:
|
||||||
|
name: postgres-password
|
||||||
|
|
||||||
|
|
||||||
|
storage:
|
||||||
|
size: 1Gi
|
||||||
|
storageClass: nfs-client
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user