apache / apache/couchdb-helm

(Optionally) run _cluster_setup after installation

Open
#41 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Mustache
Stars
55
Forks
68
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.