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 2020/09/18 14:05:31 UTC

[GitHub] [couchdb-helm] flimzy opened a new issue #41: (Optionally) create _users database on startup

flimzy opened a new issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41


   Would it be reasonable to create the `_users` database upon cluster initialization?  If it doesn't make sense in all cases, would it be reasonable to do it optionally if a config value (`createUsersDatabase = true`?) is set?
   
   If this is something we want, I'm happy to work on a PR.
   
   I'm not sure of the best approach. One possibility would be to create a `Job` resource that effectively calls `curl -X PUT http://.../_users`. There might be some cleaner way I haven't thought of. I'm eager to hear other suggestions, if this is deemed worth pursuing.


----------------------------------------------------------------
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



[GitHub] [couchdb-helm] flimzy commented on issue #41: (Optionally) create _users database on startup

Posted by GitBox <gi...@apache.org>.
flimzy commented on issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41#issuecomment-695994864


   > have a look at https://helm.sh/docs/topics/charts_hooks/ for automation
   
   Are you saying a PR to do this would be welcome on this project?  Or you prefer to keep this up to the consumers of the helm chart to implement as they see fit?


----------------------------------------------------------------
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



[GitHub] [couchdb-helm] willholley commented on issue #41: (Optionally) create _users database on startup

Posted by GitBox <gi...@apache.org>.
willholley commented on issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41#issuecomment-695984266


   have a look at https://helm.sh/docs/topics/charts_hooks/ for automation


----------------------------------------------------------------
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



[GitHub] [couchdb-helm] willholley edited a comment on issue #41: (Optionally) create _users database on startup

Posted by GitBox <gi...@apache.org>.
willholley edited a comment on issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41#issuecomment-694929730


   you might be able to do it with a post-install hook, but does this not happen as part of the `_cluster_setup` step that needs to be run anyway (https://github.com/apache/couchdb-helm/blob/master/couchdb/templates/NOTES.txt#L10)?


----------------------------------------------------------------
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



[GitHub] [couchdb-helm] willholley commented on issue #41: (Optionally) create _users database on startup

Posted by GitBox <gi...@apache.org>.
willholley commented on issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41#issuecomment-695984266






----------------------------------------------------------------
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



[GitHub] [couchdb-helm] flimzy commented on issue #41: (Optionally) create _users database on startup

Posted by GitBox <gi...@apache.org>.
flimzy commented on issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41#issuecomment-695952375


   I shuold ammend my suggestion to run all of the `_cluster_setup` step, not just create `_users`. Or is there a reason that this cannot be reasonably automated?


----------------------------------------------------------------
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



[GitHub] [couchdb-helm] krjackso commented on issue #41: (Optionally) run _cluster_setup after installation

Posted by GitBox <gi...@apache.org>.
krjackso commented on issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41#issuecomment-782295887


   Any chance of this PR being considered? Would love to have this feature in our couchdb setups.


----------------------------------------------------------------
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



[GitHub] [couchdb-helm] flimzy commented on issue #41: (Optionally) create _users database on startup

Posted by GitBox <gi...@apache.org>.
flimzy commented on issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41#issuecomment-695952375






----------------------------------------------------------------
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



[GitHub] [couchdb-helm] willholley commented on issue #41: (Optionally) create _users database on startup

Posted by GitBox <gi...@apache.org>.
willholley commented on issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41#issuecomment-696007812


   @flimzy PRs are always welcome 😃 


----------------------------------------------------------------
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



[GitHub] [couchdb-helm] willholley commented on issue #41: (Optionally) create _users database on startup

Posted by GitBox <gi...@apache.org>.
willholley commented on issue #41:
URL: https://github.com/apache/couchdb-helm/issues/41#issuecomment-694929730


   you might be able to do it with a post-install hook, but does this not happen as part of the `_cluster_setup` step that needs o be run anyway (https://github.com/apache/couchdb-helm/blob/master/couchdb/templates/NOTES.txt#L10)?


----------------------------------------------------------------
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