Hi all,
over time, I got multiple questions on how to handle PostgreSQL credentials and the JDBC (or equivalent for non-Java) connection string in Helm Charts.
Since we do not maintain an application using PostgreSQL in the System Team, I would ask you guys, if you can provide a good example on how this is handled.
What the (imo) best case solution should provide:
-
Picking up the auto-generated credentials from the bitnami postgres dependency, without any configuration needed
-
Automatically configuring the proper connection string, without any configuration needed.
-
Still enable overwriting username and password
-
Enable “external” DB overwrite. -> do not use PostgreSQL as direct Chart dependency, but configure connection and credentials to externally provided service
If anyone already achieved that, I would be great, if you can share a link to the Chart and the template files that contain this config.
Thanks in advance and happy coding
Sebastian
Mit freundlichen Grüßen / Kind regards
Sebastian Bezold
Software Engineer
Mercedes-Benz Tech Innovation GmbH (ehemals/formerly
Daimler TSS GmbH)
Wilhelm-Runge-Straße 11
89081 Ulm/Germany
Mercedes-Benz Tech Innovation GmbH
Sitz und Registergericht/Domicile and Register Court: Ulm, HRB-Nr./Commercial Register No.: 3844
Geschäftsführung/Management: Daniel Geisel (Vorsitzender/Chairperson), Isabelle Krautwald