Update values.yaml

Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten
2024-04-08 19:58:14 +02:00
committed by GitHub
parent e440a725fa
commit c3ba9f96a9

View File

@@ -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