init commit
This commit is contained in:
71
helm/values.yaml
Normal file
71
helm/values.yaml
Normal file
@@ -0,0 +1,71 @@
|
||||
image:
|
||||
repository: mongo
|
||||
tag: "8.0"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
|
||||
statefulset:
|
||||
replicas: 1
|
||||
podManagementPolicy: OrderedReady
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
|
||||
|
||||
auth:
|
||||
enabled: true
|
||||
rootUsername: root
|
||||
rootPassword: verySecurePassword
|
||||
|
||||
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" ]
|
||||
Reference in New Issue
Block a user