-
Bug
-
Resolution: Done
-
Undefined
-
ACM 2.8.1
-
False
-
-
False
-
-
-
Important
-
-
-
No
Description of problem:
When attempting to use ACM to upgrade a Helm chart with an external secret dependency (in this instance postgresql) the upgrade fails and returns the error:
"message: > failed to get the next candidate release to determine if an upgrade is necessary: execution error at (chart-name/charts/postgresql/templates/secrets.yaml:5:24): PASSWORDS ERROR: You must provide your current passwords when upgrading the release. Note that even after reinstallation, old credentials may be needed as they may be kept in persistent volume claims. Further information can be obtained at
‘global.postgresql.auth.postgresPassword’ must not be empty, please add ‘--set global.postgresql.auth.postgresPassword=$PASSWORD’ to the command. To get the current value:"
Performing the same upgrade via the helm cli with `helm upgrade chart-name -f value.yml` completes successfully.
The helm chart is configured at present to read a secret from the OCP cluster and use that to populate the postgres password. In the running postgresql container we are able to verify that the postgres password env var is set. The issue only seems to occur during the chart upgrade scenario.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
- ...
Actual results:
Expected results:
Additional info: