initial git commit saving configs

This commit is contained in:
Adrien
2026-03-31 15:30:40 +00:00
commit 7770e9859c
64 changed files with 2866 additions and 0 deletions

28
shared-db/postgres.yaml Normal file
View File

@@ -0,0 +1,28 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: shared-postgres
namespace: db
spec:
instances: 1
storage:
pvcTemplate:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
storageClassName: pvc-shared-postgres
volumeMode: Filesystem
imageName: ghcr.io/cloudnative-pg/postgresql:16
bootstrap:
initdb:
database: dbtest
owner: admin
secret:
name: shared-postgres-app
postInitApplicationSQL:
- ALTER USER admin WITH SUPERUSER;
- CREATE EXTENSION vector;