Repository navigation
fix(k8s): specify runAsUser for mattermost-operator - #2934
Merged
Merged
Conversation
Add explicit numeric user and group identifiers to mattermost-operator podSecurityContext for runAsNonRoot validation. Closes #2932
dan-petty
marked this pull request as ready for review
October 31, 2026 21:42
dan-petty
pushed a commit
that referenced
this pull request
Oct 31, 2026
🤖 I have created a release *beep* *boop* --- ## [0.35.0](v0.34.0...v0.35.0) (2026-10-31) ### Features * **roadmap:** items have one owner label and a claim ends a Job ([#2935](#2935)) ([8b7dc4b](8b7dc4b)), closes [#2910](#2910) ### Bug Fixes * **k8s:** set containerSecurityContext for mattermost ([#2939](#2939)) ([5c79314](5c79314)) * **k8s:** specify runAsUser for mattermost-operator ([#2934](#2934)) ([fbf7427](fbf7427)) * **roadmap:** show the cause of a model call stop in the Job comment ([#2938](#2938)) ([e988710](e988710)), closes [#2922](#2922) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Configure numeric user and group identifiers (
65532) formattermost-operator.This allows the kubelet to verify unprivileged execution when
runAsNonRoot: trueis set.Closes #2932
Changes
runAsUser: 65532andrunAsGroup: 65532topodSecurityContextink8s/mattermost/mattermost-operator-values.yaml.tests/invariants/test_k8s_argocd_apps.pyensuring numeric user identifiers are specified.2932-mattermost-operator-runasuser.Verification
fail-to-passcheck run:AssertionError: assert None == 65532tests/invariants/test_k8s_argocd_apps.pypassed.