mongodb / helm-charts

Apache License 2.0
99 stars 92 forks source link

podSecurityContext not read in template #242

Closed 93imagine closed 1 year ago

93imagine commented 1 year ago

What did you do to encounter the bug? Steps to reproduce the behavior: Set the runAsUser value to a different value like:

operator: 
  podSecurityContext:
    runAsNonRoot: true
    runAsUser: 1000960000 

What did you expect? A clear and concise description of what you expected to happen. This value to overwrite the default.

What happened instead? A clear and concise description of what happened instead The value does not get used and the default 2000 is used causing multiple errors like: Invalid value: 2000: must be in the ranges: [1000960000, 1000969999]

93imagine commented 1 year ago

Just noticed the main repo v0.8.0 is not the same as the chart you get when doing a helm pull.