Wilson Bilkovich
08/27/2021, 12:15 AM'postgresqlPassword' must not be empty
even though I am passing it with --set
on the helm upgrade
command-line.Wilson Bilkovich
08/27/2021, 12:15 AM% CHART_NS=prefect
CHART_NAME=prefect-server-initial
helm upgrade \
--set ui.apolloApiUrl=http://${CHART_NAME}-apollo:4200/graphql \
--set agent.enabled=true \
--set jobs.createTenant.enabled=true \
--set postgresqlPassword=$POSTGRESQL_PASSWORD \
${CHART_NAME} \
prefecthq/prefect-server
Error: UPGRADE FAILED: template: prefect-server/charts/postgresql/templates/NOTES.txt:59:4: executing "prefect-server/charts/postgresql/templates/NOTES.txt" at <include "common.errors.upgrade.passwords.empty" (dict "validationErrors" (list $passwordValidationErrors) "context" $)>: error calling include: template: prefect-server/charts/postgresql/charts/common/templates/_errors.tpl:18:48: executing "common.errors.upgrade.passwords.empty" at <fail>: error calling fail: HELM_ERR_START
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:
export POSTGRESQL_PASSWORD=$(kubectl get secret --namespace prefect prefect-server-initial-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)
HELM_ERR_END
nicholas
Wilson Bilkovich
08/27/2021, 12:51 AMWilson Bilkovich
08/27/2021, 12:59 AMnicholas
postgresql.postgresqlPassword
instead of just postgresqlPassword
nicholas
Wilson Bilkovich
08/27/2021, 2:10 AMnicholas
Wilson Bilkovich
08/27/2021, 6:36 PMvalues.yaml
, I am convinced it would work when spelled with the postgresql.
prefix