]> cat aescling's git repositories - mastodon.git/commit
Fix postrgres secret name for cronjob (#15072)
authorPatrice Ferlet <metal3d@gmail.com>
Mon, 2 Nov 2020 05:16:51 +0000 (06:16 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Nov 2020 05:16:51 +0000 (06:16 +0100)
commit4b2ec4a2dc3348ff27f74f442e408d92075bf7c2
tree2293b38fcfee057355993bf09024452b42f776d6
parentfa929d8b81002c95f729517d3ce3985f090c5980
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.
chart/templates/cronjob-media-remove.yaml