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

add securityContext example for Restricted pod-security policies #4

Merged
merged 3 commits into from
Feb 13, 2024

Conversation

MnrGreg
Copy link
Contributor

@MnrGreg MnrGreg commented Feb 13, 2024

Amends examples for execution with Restricted Pod-security policies pod-security.kubernetes.io/enforce=restricted.

Restricted will otherwise block execution with:

Error: container has runAsNonRoot and image will run as root
Error creating: pods "tsm0-tsm-node-676c98455b-tfjsq" is forbidden: violates PodSecurity "restricted:latest": runAsNonRoot != true

@MnrGreg MnrGreg force-pushed the MHS-3186 branch 3 times, most recently from 2decf49 to cc16233 Compare February 13, 2024 21:28
@JordanHoeft JordanHoeft merged commit f482f42 into main Feb 13, 2024
11 checks passed
@JordanHoeft JordanHoeft deleted the MHS-3186 branch February 13, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants