Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A value for couchdbConfig.couchdb.uuid must be set #39

Open
alwindoss opened this issue Aug 22, 2020 · 2 comments · May be fixed by #73
Open

A value for couchdbConfig.couchdb.uuid must be set #39

alwindoss opened this issue Aug 22, 2020 · 2 comments · May be fixed by #73

Comments

@alwindoss
Copy link

Describe the bug
I followed the instructions to add a repo from here
when I run the command helm install mycouchdb couchdb/couchdb I get the following error

Error: execution error at (couchdb/templates/configmap.yaml:12:54): A value for couchdbConfig.couchdb.uuid must be set

Version of Helm and Kubernetes:
helm I am running the development version of it by builing master
Kubernetes: I am running minikube

minikube version: v1.12.3
commit: 2243b4b97c131e3244c5f014faedca0d846599f5-dirty

What happened:
Error: execution error at (couchdb/templates/configmap.yaml:12:54): A value for couchdbConfig.couchdb.uuid must be set

What you expected to happen:
Expected couchdb to be installed

How to reproduce it (as minimally and precisely as possible):
See "Describe the bug section" above

@jpapejr
Copy link

jpapejr commented Oct 7, 2020

Hit the link just below those instructions (the Helm chart readme link) - the tl;dr section there solves this issue..

helm install couchdb/couchdb \
  --set allowAdminParty=true \
  --set couchdbConfig.couchdb.uuid=$(curl https://www.uuidgenerator.net/api/version4 2>/dev/null | tr -d -)

You can, of course, generate a UUID in other ways, too.

@alwindoss
Copy link
Author

But since that is a mandatory field shouldn't it be included in the link mentioned?

colearendt added a commit to colearendt/couchdb-helm that referenced this issue May 10, 2022
We utilize Helm's `lookup` command to store a generated `uuid` in an "internal" secret in Kubernetes. This allows generating the `uuid`, making it persistent, and notifying the user (in `NOTES.txt`) that this auto-generation happened. We also tell the user how to disable the message by making that value persistent in values.

close apache#39
@colearendt colearendt linked a pull request May 10, 2022 that will close this issue
4 tasks
willholley pushed a commit that referenced this issue Dec 12, 2022
We utilize Helm's `lookup` command to store a generated `uuid` in an "internal" secret in Kubernetes. This allows generating the `uuid`, making it persistent, and notifying the user (in `NOTES.txt`) that this auto-generation happened. We also tell the user how to disable the message by making that value persistent in values.

close #39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants