mirror of
https://github.com/truecharts/charts.git
synced 2026-07-16 10:01:21 -03:00
Update values.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
@@ -13,16 +13,8 @@ workload:
|
||||
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"
|
||||
MONGODB_PASSWORD: "{{ .Values.password }}"
|
||||
MONGODB_ROOT_PASSWORD: "{{ .Values.rootPassword }}"
|
||||
# -- Probe configuration
|
||||
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
|
||||
# @default -- See below
|
||||
@@ -90,17 +82,17 @@ persistence:
|
||||
mountPath: "/bitnami/mongodb"
|
||||
mongodbUsername: "test"
|
||||
mongodbDatabase: "test"
|
||||
mongodbRootPassword: "testroot"
|
||||
rootPassword: "testroot"
|
||||
# -- Secret or password
|
||||
# One of these options is required, unless used as a dependency for another TrueCharts chart.
|
||||
mongodbPassword: ""
|
||||
password: "placeholderpassword"
|
||||
existingSecret: ""
|
||||
secret:
|
||||
credentials:
|
||||
enabled: true
|
||||
data:
|
||||
mongodb-password: '{{ ( .Values.mongodbPassword | default "empty" ) }}'
|
||||
mongodb-root-password: '{{ ( .Values.mongodbRootPassword | default "empty" ) }}'
|
||||
mongodb-password: '{{ ( .Values.password | default "empty" ) }}'
|
||||
mongodb-root-password: '{{ ( .Values.rootPassword | default "empty" ) }}'
|
||||
portal:
|
||||
open:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user