Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Fix error breaking non-root policy mongodb #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 12, 2020

  1. Fix error breaking non-root policy mongodb

    Hi,
    
    i've spotted the "Error: container's runAsUser breaks non-root policy" in my events and traced it down to, the securityContext  runAsUser/fsGroup. 
    
    The chart defaults (https://github.com/helm/charts/blob/e1b97b9232d7273127f53c7899d2377d5912f267/stable/mongodb/values-production.yaml#L113) already specify runAsUser and fsGroup 1001 and mongodb starts successfully with this configuration.
    A bit strange tho' because there is no UID/GID defined 1001 in the container.
    mariusrugan authored Feb 12, 2020
    Configuration menu
    Copy the full SHA
    785364d View commit details
    Browse the repository at this point in the history