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
+6 -14
View File
@@ -13,16 +13,8 @@ workload:
env: env:
MONGODB_USERNAME: "{{ .Values.mongodbUsername }}" MONGODB_USERNAME: "{{ .Values.mongodbUsername }}"
MONGODB_DATABASE: "{{ .Values.mongodbDatabase }}" MONGODB_DATABASE: "{{ .Values.mongodbDatabase }}"
MONGODB_PASSWORD: MONGODB_PASSWORD: "{{ .Values.password }}"
secretKeyRef: MONGODB_ROOT_PASSWORD: "{{ .Values.rootPassword }}"
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 # -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) # -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
# @default -- See below # @default -- See below
@@ -90,17 +82,17 @@ persistence:
mountPath: "/bitnami/mongodb" mountPath: "/bitnami/mongodb"
mongodbUsername: "test" mongodbUsername: "test"
mongodbDatabase: "test" mongodbDatabase: "test"
mongodbRootPassword: "testroot" rootPassword: "testroot"
# -- Secret or password # -- Secret or password
# One of these options is required, unless used as a dependency for another TrueCharts chart. # One of these options is required, unless used as a dependency for another TrueCharts chart.
mongodbPassword: "" password: "placeholderpassword"
existingSecret: "" existingSecret: ""
secret: secret:
credentials: credentials:
enabled: true enabled: true
data: data:
mongodb-password: '{{ ( .Values.mongodbPassword | default "empty" ) }}' mongodb-password: '{{ ( .Values.password | default "empty" ) }}'
mongodb-root-password: '{{ ( .Values.mongodbRootPassword | default "empty" ) }}' mongodb-root-password: '{{ ( .Values.rootPassword | default "empty" ) }}'
portal: portal:
open: open:
enabled: false enabled: false