Skip to content

Commit

Permalink
fix: mongodb user/group/fsgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
ed382 committed Nov 19, 2024
1 parent 9e5c6a5 commit 6225195
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/testkube-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,9 @@ mongodb:
# -- MongoDB Pod Security Context
podSecurityContext:
runAsNonRoot: true
runAsUser: 1001
runAsGroup: 1001
fsGroup: 1001
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
# -- Security Context for MongoDB container
containerSecurityContext: {}
Expand Down

0 comments on commit 6225195

Please sign in to comment.