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 Jan 8, 2025
1 parent a4fc8a6 commit bb83595
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 @@ -689,6 +689,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 bb83595

Please sign in to comment.