tryretool / retool-helm

MIT License
47 stars 59 forks source link

Let Deployment use secretRef even when embedded PostgreSQL is enabled #195

Open Donnie opened 1 week ago

Donnie commented 1 week ago

https://github.com/tryretool/retool-helm/blob/c7d8d30c1239d99f1cff96946e6b6d6a025d923b/charts/retool/templates/deployment_backend.yaml#L184

It would be great if we could use the config.postgresql.passwordSecretName secretref even when we use the embedded postgres.

The way it is now, any small change to the helm file triggers regeneration of the random password, and everything breaks.

Or one has to hardcode the secret into the helm values file.