You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/01/19 13:19:22 UTC

[GitHub] [couchdb-helm] GeorgFleig edited a comment on pull request #23: Allow setting of consistent admin password hash

GeorgFleig edited a comment on pull request #23:
URL: https://github.com/apache/couchdb-helm/pull/23#issuecomment-762821146


   You're right @realvasko, the chart's logic to use the pre-defined admin password hash is broken. It does actually work using the chart, but the values required to get it to work are quite confusing..
   
   Here is how I got it working:
   
   1. The key in the secret for the `password.ini` file must be `password.ini`, not `my-password.ini` as you figured out as well.
   2. The `adminPassword` key inside the secret must still be set (random value is fine) as it is required by the StatefulSet environment variables.
   3. Set `adminHash` in the `values.yaml` to `true` so the logic in the init container is is enabled to copy the contents of the `password.ini` of the secret to the right place. The README suggests this variable could contain the admin password hash but the content is never evaluated at all.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org