apache / apache/couchdb-helm

helm chart is not picking security context value passed in values.yml

Open
#159 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Mustache
Stars
55
Forks
68
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.

we are deploying couchdb using helm chart. In ```values yaml``` we are defining security context as follows
```
containerSecurityContext:
fsGroup: 5984
runAsUser: 5984
runAsNonRoot: true
```
But these values are not taken, we are facing below error

``` Error: container has runAsNonRoot and image will run as root (pod: "couchdb-couchdb-0_octosec-int(82e260ef-3a13-409f-92a5-de0bf9f633ff)", container: init-copy)```

could you please let me know how to pass the value

**Version of Helm and Kubernetes**:

kubectl version
Client Version: v1.29.3

Helm version "v3.14.2"
**What happened**:

**What you expected to happen**:

**How to reproduce it** (as minimally and precisely as possible):

**Anything else we need to know**:

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.