tiled icon indicating copy to clipboard operation
tiled copied to clipboard

[Helm] Prevent initialisation of database by Tiled container

Open DiamondJoseph opened this issue 5 months ago • 0 comments

Moving initialisation of database tables out of the main container means it can run with reduced permissions and access to secrets, its behaviour is invariant and it is the more Kubernetes way of separating those behaviours.

Although the database chart we're going to be using is currently uncertain due to bitnami stopping publishing all images https://github.com/bitnami/containers/issues/83267 the design of their chart is pushing me in one direction. The postgresql user is not able to connect remotely and setting init scripts is simple, therefore the database initialisation should be done in database init scripts, tiled should connect as a non-admin user.

If there is a sensible Chart to use as a dependency that is not likely to begin charging money, we could make this simple for the user

DiamondJoseph avatar Aug 05 '25 08:08 DiamondJoseph