Closed nullvar2000 closed 1 year ago
I assume you're using existingSecret
under the postgresql
key? That section uses the postgres helm chart from Bitnami as a dependency. In order for the connection details to be passed to the Immich containers, you need to set the env.DB_*
values. This example should help if you want to set them from a secret.
I'm trying to deploy the helm chart using the "existingSecret" option to specify postgresql credentials. The problem appears to be that while the postgresql pod reads the secret for the environment variables, the immich-server pod is still using the default "immich" value for DB_PASSWORD. Is there a values option to tell immich to read the secrets files, too?
The runtime values were verified to be as expected based in the output above by exec'ing into pods and running env. Both pods show error messages to the effect of 'password authentication failed for user "immich"'
Here is the contents of postgres-secrets.yaml:
I probably don't need all of these, but I've been trying different variables to get this to work.