Closed DominikPinsel closed 5 months ago
@DominikPinsel please, change the merge branch to develop
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication
I will put this feature on hold. Using a non-postgres user with a newly generated database password is a breaking change in comparison to how it is done now. We cannot update from a bitnami-postgres-password-secret to a custom-non-postgres-password-secret.
Description
This PR adds a init container to the miw deployment. The idea is to generate a new database user password with each deployment, so that the usage of a pre-configured one becomes obsolete.
The deployment will always generate a fresh secret with the database password, that is used by the MIW. The init container will then do these steps:
Additionally: Added
"helm.sh/resource-policy": "keep"
to the existing MIW secret, as its re-creation would be fatal for existing persisted data.Pre-review checks