v4.0.1 - Mojaloop v15 support
This IaC release now supports Mojaloop v15 Release, taking full advantage of the maintenance and security improvements introduced by this release. Most notably, the Externalised Secrets supported by the Mojaloop Helm chart are now fully managed by IaC's internal Vault. These Externalised Secrets auto-generated will only be stored in the Vault, as opposed to the previous version where the random passwords were generated in terraform prior to deployment of the Helm chart, which resulted in the username-passwords being stored in the terraform state file.
The Mojaloop external dependencies (e.g. stateful services like MySQL, MongoDB, etc) now make use of the Vault operator (see #6
below), via the creation of the appropriate custom resources (RandomSecret and VaultSecret). The Mojaloop Helm install config now references the secrets generated by this process (see #8
below).
Please note that other external resources that are created for WSO2, Ory stack components, etc, which don't support the use of externalized secrets are still configured using the previous approach of generating passwords within Terraform, storing them in Vault and referencing the credentials in their respective values files directly.
What's Changed
- Support for Mojaloop v15 Release
- Added a new stateful service for TTK mongoDB
- Refactored the test pipelines to use helm tests instead of TTK CLI directly (mojaloop/3239)
- Added capability to get the report history in TTK interface
- Enabled “Settlement Initiation Report” by default in terraform/k8s-apps-setup/mojaloop-core/mojaloop-custom-reports/config.json
- Add support for vault operator (https://github.com/redhat-cop/vault-config-operator) to allow for creation and storing of random secrets in vault as well as CR-generated K8S secrets from these same vault secrets.
- Custom Resource (CR) based method to auto generate credentials for the creation of stateful resources (mysql/etc)
- CR-based creation of K8S secrets in multiple namespaces that can then be referenced in different helm charts.
- Refactored mojaloop values file to support setting secrets as opposed to passwords.
Known Issues
- Secrets being generated do not currently support special characters, with password_policy_use_special_chars being set in the workbench-config-15.json to
false
by default, until the limitation can be resolved by the following issues:
Full Changelog: v4.0.0...v4.0.1