mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 15:48:22 +00:00
Fix postrgres secret name for cronjob (#15072)
The cronjob tries to get key from `mastodon` secret instead of `mastodon-postgresql` - so the cronjob fails with this error: Error: couldn't find key postgresql-password in Secret [NS]/mastodon Another solution is to save the postgres password in mastodon secret, but that means that the password is placed in two places. Postgresql use <fullname>-postgresql name as secret name.
This commit is contained in:
parent
fa929d8b81
commit
4b2ec4a2dc
|
@ -55,7 +55,7 @@ spec:
|
||||||
{{- if .Values.postgresql.enabled }}
|
{{- if .Values.postgresql.enabled }}
|
||||||
name: {{ .Release.Name }}-postgresql
|
name: {{ .Release.Name }}-postgresql
|
||||||
{{- else }}
|
{{- else }}
|
||||||
name: {{ template "mastodon.fullname" . }}
|
name: {{ template "mastodon.fullname" . }}-postgresql
|
||||||
{{- end }}
|
{{- end }}
|
||||||
key: postgresql-password
|
key: postgresql-password
|
||||||
- name: "REDIS_PASSWORD"
|
- name: "REDIS_PASSWORD"
|
||||||
|
|
Loading…
Reference in a new issue