Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix security context at container level in hardened k8s cluster #482

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jm-bertheas-datailor
Copy link

Summary

When we try to deploy [mattermost-team-edition] with helm charts into a hardened k8s cluster, it's not possible to define a custom securityContext at the container level (event if it's possible at pod level but it's not enough to start the mattermost-team-edition pod).
We have to add some custom securityContext definition on the deployment at the container level.

The fix done here, is supposed to be backward compatible.

Ticket Link

Fixes #315

@mattermost-build
Copy link
Contributor

Hello @jm-bertheas-datailor,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@mattermost-build
Copy link
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[mattermost-team-edition] Respect custom securityContext
2 participants