chore: add helm chart and docker

This commit is contained in:
Nuxgrid
2026-07-27 21:06:11 +02:00
parent 23a4f280c6
commit 356604fba4
46 changed files with 1390 additions and 0 deletions
@@ -0,0 +1,50 @@
image:
repository: postgres
tag: "16-alpine"
pullPolicy: IfNotPresent
auth:
username: postgres
database: gestion_db
# À surcharger via --set auth.password=xxx
password: ""
persistence:
size: 10Gi
storageClass: ""
accessMode: ReadWriteOnce
resources:
requests:
cpu: 250m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi
service:
type: ClusterIP
port: 5432
# Paramètres PostgreSQL (postgresql.conf)
config:
maxConnections: "200"
sharedBuffers: "256MB"
effectiveCacheSize: "768MB"
maintenanceWorkMem: "64MB"
walBuffers: "16MB"
defaultStatisticsTarget: "100"
randomPageCost: "1.1"
logMinDurationStatement: "1000"
podSecurityContext:
runAsUser: 999
runAsGroup: 999
fsGroup: 999
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
capabilities:
drop:
- ALL