about summary refs log tree commit diff
path: root/chart
diff options
context:
space:
mode:
Diffstat (limited to 'chart')
-rw-r--r--chart/templates/cronjob-media-remove.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart/templates/cronjob-media-remove.yaml b/chart/templates/cronjob-media-remove.yaml
index 5d78f3395..8a01a2551 100644
--- a/chart/templates/cronjob-media-remove.yaml
+++ b/chart/templates/cronjob-media-remove.yaml
@@ -55,7 +55,7 @@ spec:
                       {{- if .Values.postgresql.enabled }}
                       name: {{ .Release.Name }}-postgresql
                       {{- else }}
-                      name: {{ template "mastodon.fullname" . }}
+                      name: {{ template "mastodon.fullname" . }}-postgresql
                       {{- end }}
                       key: postgresql-password
                 - name: "REDIS_PASSWORD"