TrueChartsClone/charts/dependency/mongodb/values.yaml

120 lines
4.3 KiB
YAML
Raw Normal View History

image:
repository: tccr.io/truecharts/mongodb
pullPolicy: IfNotPresent
tag: 6.0.4@sha256:3600c9f13d96311ddad4d2de6520d54c89a8708ee36798e4dc6fb93f59c1eab4
workload:
main:
replicas: 1
type: StatefulSet
strategy: RollingUpdate
podSpec:
containers:
main:
env:
MONGODB_USERNAME: "{{ .Values.mongodbUsername }}"
MONGODB_DATABASE: "{{ .Values.mongodbDatabase }}"
MONGODB_PASSWORD:
secretKeyRef:
expandObjectName: "{{ if .Values.mongodbPassword }}true{{ else }}false{{ end }}"
name: '{{ if .Values.mongodbPassword }}credentials{{ else if .Values.existingSecret }}{{ .Values.existingSecret }}{{ else }}{{ printf "%s-%s" .Release.Name "mongodbcreds" }}{{ end }}'
key: "mongodb-password"
MONGODB_ROOT_PASSWORD:
secretKeyRef:
expandObjectName: "{{ if .Values.mongodbPassword }}true{{ else }}false{{ end }}"
name: '{{ if .Values.mongodbPassword }}credentials{{ else if .Values.existingSecret }}{{ .Values.existingSecret }}{{ else }}{{ printf "%s-%s" .Release.Name "mongodbcreds" }}{{ end }}'
key: "mongodb-root-password"
# -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
# @default -- See below
probes:
# -- Liveness probe configuration
# @default -- See below
liveness:
# -- Enable the liveness probe
enabled: true
# -- Set this to `true` if you wish to specify your own livenessProbe
custom: true
# -- The spec field contains the values for the default livenessProbe.
# If you selected `custom: true`, this field holds the definition of the livenessProbe.
# @default -- See below
spec:
exec:
command:
- /bin/bash
- -ec
- echo "db.runCommand(\"ping\")" | mongosh --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
# -- Redainess probe configuration
# @default -- See below
readiness:
# -- Enable the readiness probe
enabled: true
# -- Set this to `true` if you wish to specify your own readinessProbe
custom: true
# -- The spec field contains the values for the default readinessProbe.
# If you selected `custom: true`, this field holds the definition of the readinessProbe.
# @default -- See below
spec:
exec:
command:
- /bin/bash
- -ec
- echo "db.runCommand(\"ping\")" | mongosh --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
# -- Startup probe configuration
# @default -- See below
startup:
# -- Enable the startup probe
enabled: true
custom: true
# -- The spec field contains the values for the default livenessProbe.
# If you selected `custom: true`, this field holds the definition of the livenessProbe.
# @default -- See below
spec:
exec:
command:
- /bin/bash
- -ec
- echo "db.runCommand(\"ping\")" | mongosh --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
service:
main:
ports:
main:
port: 27017
targetPort: 27017
securityContext:
container:
runAsGroup: 0
readOnlyRootFilesystem: false
volumeClaimTemplates:
data:
enabled: true
mountPath: "/bitnami/mongodb"
mongodbUsername: "test"
mongodbDatabase: "test"
mongodbRootPassword: "testroot"
# -- Secret or password
# One of these options is required, unless used as a dependency for another TrueCharts chart.
mongodbPassword: ""
existingSecret: ""
secret:
credentials:
enabled: true
data:
mongodb-password: '{{ ( .Values.mongodbPassword | default "empty" ) }}'
mongodb-root-password: '{{ ( .Values.mongodbRootPassword | default "empty" ) }}'
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 21:25:02 +00:00
portal:
open:
enabled: false
manifestManager:
enabled: false