chore: add helm chart and docker
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user