You can create a bootstrapping script and Helm will run it right after Waldur release installation.
1 2 3 4 5 6 7 8
This script with all necessary additional files
should be placed in
Additional configuration variables (
enabled- enable/disable bootstrap
script- main script file in
dir- directory with all bootstrap files
Moreover, that is better to install release with
This allows running migrations job before a bootstrap one.
more info: link,
Hooks and the Release Lifecycle section)
A script, which contains interaction with a db can fail due to not all migrations are applied. Automatical reruning of the bootstrap job is normal behaviour in such situations.
Hence, the script should be idempotent.
Last update: 2023-04-11