Skip to content

Commit 38c6e04

Browse files
Romain JACQUETrjacquet31
authored andcommitted
fix: missing trailing slash for mongo db backup instances
1 parent 5b862d0 commit 38c6e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/kargo/templates/_db-backup.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ type: Opaque
355355
stringData:
356356
mongo-config.yml: |-
357357
password: {{ .args.password | default "" }}
358-
uri: mongodb://{{ if hasKey .args "username" }}{{ .args.username }}@{{ end }}{{ .args.host }}{{ if hasKey .args "urlParams" }}?{{ .args.urlParams }}{{ end }}
358+
uri: mongodb://{{ if hasKey .args "username" }}{{ .args.username }}@{{ end }}{{ .args.host }}/{{ if hasKey .args "urlParams" }}?{{ .args.urlParams }}{{ end }}
359359

360360
{{- if eq (include "kargo.tplvalues.render" (dict "value" (.args.ignoreBackup | default false) "context" .context) | trim | lower) "false" }}
361361
---

0 commit comments

Comments
 (0)