Hi, There's a small issue in the helm chart during...
# prefect-server
t
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:
Copy code
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
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
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
thx a lot, edited ✅