Skip to content

Commit bc33320

Browse files
committed
fix(backend): unset mongodb.authentication.password when appConfig.mongodb is set
1 parent 72e5e71 commit bc33320

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: backend
3-
version: 0.7.2
3+
version: 0.7.3
44
description: Backend of the Snoty application suite
55
type: application
66
home: https://snoty.me

backend/templates/_config.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
'-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend={{ .Values.appConfig.jvmDebug.suspend | ternary "y" "n" }}'
8585
{{ end }}
8686

87-
{{ if and (.Values.mongodb.deploy) (kindIs "map" .Values.mongodb.auth) }}
87+
{{ if and (.Values.mongodb.deploy) (not (kindIs "map" $.Values.appConfig.mongodb)) (kindIs "map" .Values.mongodb.auth) }}
8888
{{- with .Values.mongodb.auth -}}
8989
{{- if .existingSecret -}}
9090
- name: mongodb.authentication.password

0 commit comments

Comments
 (0)