mattermost / mattermost-helm

Mattermost Helm charts for Kubernetes
Apache License 2.0
165 stars 151 forks source link

The possibility to add securityContext in the manifest file while using the Helm Mattermost Operator #476

Open lucasscheepers opened 2 years ago

lucasscheepers commented 2 years ago

The possibility to add securityContext in the manifest file while using the Helm Mattermost Operator, like below:

apiVersion: installation.mattermost.com/v1beta1
kind: Mattermost
metadata:
  name: mattermost
  namespace: $NAMESPACE
spec:
  securityContext:
    runAsUser: 1000
    runAsGroup: 1000
    runAsNonRoot: true
...

Related issue: https://github.com/mattermost/mattermost-helm/issues/315#issue-1167316397. This is already possible in the team and enterprise editions Helm charts, but this is not the case for the manifest file. Or is it :sweat_smile: ?

amyblais commented 2 years ago

I created a ticket for our devops team to take a look https://mattermost.atlassian.net/browse/DOPS-961.