You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/kargo/templates/_db-backup.tpl
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -331,6 +331,7 @@ The restore cronjob is suspended to be started manually.
331
331
- host The host where the dabatabase is running
332
332
- username The database username to use to perform the dump
333
333
- password The username password
334
+
- urlParams Extra parameters for the url, ex replicaset name
334
335
- rcloneSecret The name of the secret where rclone.conf can be found
335
336
- backupCron The schedule expression "0 * * * *"
336
337
- remotePath The folder where the backup will be transfered (the filename is generated).
@@ -354,7 +355,7 @@ type: Opaque
354
355
stringData:
355
356
mongo-config.yml: |-
356
357
password: {{ .args.password| default "" }}
357
-
uri: mongodb://{{ if hasKey .args"username" }}{{ .args.username }}@{{ end }}{{ .args.host }}
358
+
uri: mongodb://{{ if hasKey .args"username" }}{{ .args.username }}@{{ end }}{{ .args.host }}{{ if hasKey .args"urlParams" }}?{{ .args.urlParams }}{{ end }}
0 commit comments