We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae978d0 commit 5b862d0Copy full SHA for 5b862d0
1 file changed
charts/kargo/templates/_db-backup.tpl
@@ -343,7 +343,7 @@ The restore cronjob is suspended to be started manually.
343
{{- define "kargo.mongodb-backup-restore-cronjobs" -}}
344
{{- $remotePath := include "kargo.tplvalues.render" (dict "value" .args.remotePath "context" .context) }}
345
{{- $rcloneSecret := include "kargo.tplvalues.render" (dict "value" .args.rcloneSecret "context" .context) }}
346
-{{- $name := print .args.host (.args.nameSuffix | default "") }}
+{{- $name := print (splitList "." .args.host| first ) (.args.nameSuffix | default "") }}
347
{{- $dbSecret := print "backup-restore-" $name }}
348
{{- $restoreFile := print $name "-" .args.restoreTimestamp ".gz" }}
349
apiVersion: v1
0 commit comments