https://prefect.io logo
Title
t

Tomer Cagan

03/10/2022, 10:45 AM
Hi, There's a small issue in the helm chart during upgrade - it logs an incorrect message to the screen. (Details inside)
When running
helm upgrade
without specifying the database password it fails and write an error to the screen:
Error: UPGRADE FAILED: execution error at (prefect-server/charts/postgresql/templates/NOTES.txt:59:4):
PASSWORDS ERROR: you must provide your current passwords when upgrade the release
    'postgresqlPassword' must not be empty, please add '--set postgresqlPassword=$POSTGRESQL_PASSWORD' to the command. To get the current value:
The value in the set argument should actually be
'--set postgres.postgresqlPassword=$POSTGRESQL_PASSWORD'
. This is documented correctly in the chart documentation but I guess was not updated in prefect-server/charts/postgresql/templates/NOTES.txt. I thought to open a PR but I cannot file this file 😄 If you can direct me to it, I can still do a PR, or I can open a bug in the project repo
a

Anna Geller

03/10/2022, 11:12 AM
Thanks for reporting this, I'll open an issue for now @Marvin open "Update Postgres Helm chart template notes to include postgres prefix when setting password value" in server
t

Tomer Cagan

03/10/2022, 11:34 AM
Thanks. I don't think that the path you added as a comment is correct - the source of the warning is a sub-chart I think -
prefect-server/charts/postgresql/templates/NOTES.txt
a

Anna Geller

03/10/2022, 11:40 AM
thx a lot, edited