GeorgFleig commented on pull request #26:
URL: https://github.com/apache/couchdb-helm/pull/26#issuecomment-762834060


   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`.
   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:
[email protected]


Reply via email to