init commit

This commit is contained in:
2025-09-29 07:07:02 +02:00
commit 842b408526
11 changed files with 317 additions and 0 deletions

74
helm/values.yaml Normal file
View File

@@ -0,0 +1,74 @@
image:
repository: mongo
tag: "8.0"
pullPolicy: IfNotPresent
statefulset:
replicas: 1
podManagementPolicy: OrderedReady
updateStrategy:
type: RollingUpdate
auth:
enabled: true
rootUsername: root
rootPassword: verySecurePassword
database: user
username: user
password: securePassword
persistence:
storageClass:
accessModes:
- ReadWriteOnce
size: 8Gi
service:
type: ClusterIP
port: 27017
headless:
enabled: true
name: "{{ include \"mongo.name.headless\" . }}"
resources:
limits:
cpu: "1"
memory: 1Gi
requests:
cpu: 100m
memory: 256Mi
livenessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 1
readinessProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
securityContext:
enabled: true
fsGroup: 65534
runAsUser: 65534
runAsNonRoot: true
extraCommandLineArgs: ""
healthCheck:
command: ["/bin/sh", "-c", "mongosh --quiet --eval 'db.runCommand({ ping: 1 })' --username ${MONGO_INITDB_ROOT_USERNAME} --password ${MONGO_INITDB_ROOT_PASSWORD} --authenticationDatabase admin || exit 1" ]