-
Bug
-
Resolution: Done
-
Major
-
None
-
2.5.1, 2.6 GA
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
integration-doc-2020-08-24, integration-doc-2020-09-14, integration-doc-2020-10-05, integration-doc-2020-10-26, integration-doc-2020-11-16, integration-doc-2020-12-07, integration-doc-2020-12-28, integration-doc-2021-01-18
In both the 2.5 and 2.6 documentation, it incorrectly instructs the user to patch the DATABASE_URL environment variable for the pods and system-app pre hook.
The issue with this command is two fold:
- It hardcodes the index as "1" for the patch ("/spec/strategy/rollingParams/pre/execNewPod/env/1/value"). This makes too much of an assumption and will rarely be correct in the case of upgrades. It's not even at index 1 for new installations from our template.
- With a fresh installation of 2.5 the value is stored in a secret. The docs should be having you update the secret, not the environment variable in multiple places. The docs appear to be correct in 2.7+
- is related to
-
THREESCALE-5759 System-app pre hook completes even if it doesn't perform any database actions (e.g. installation, migration)
- Defined