CouchDB on Kubernetes requires privileged access
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- dockerfile, helm, kubernetes
- Domain
- databases, devops, infrastructure
Research direction
Inspect /docker-entrypoint.sh around line 89 and the Helm deployment configuration for the mounted /opt/couchdb/data volume. Reproduce a Helm deployment without privileged access, then verify that .erlang.cookie is writable in the volume and CouchDB starts successfully without root privileges.
Written by the indexing model from the issue text.
Description
CouchDB requires root (privileged) access on Kubernetes, which should be avoided.
Expected Behavior
Deploying CouchDB with Helm without requiring privileged access
Current Behavior
If CouchDB is deployed via Helm without modifications, the following error occurs:
/docker-entrypoint.sh: line 89: /opt/couchdb/.erlang.cookie: Permission denied
Possible Solution
Write .erlang.cookie in the mounted volume /opt/couchdb/data or a dedicated one
- Dominant language
- Dockerfile
- Stars
- 290
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/couchdb-docker
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
apache/couchdb-docker#293 ·
-
Docker Setup Issue Open
Difficulty 4/5 3-5 days Newbie friendliness 32/100
apache/couchdb-docker#292 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
apache/couchdb-docker#288 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
apache/couchdb-docker#285 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 50/100
apache/couchdb-docker#283 ·
All issues in apache/couchdb-docker
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3312 ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenLiberty/open-liberty#35839 ·
-
affects-9.0 found-by-ai may-affects-25.10 may-affects-26.3 may-affects-26.9 may-affects-7.5 may-affects-8.1 may-affects-8.5 severity/major sig/execution type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100