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

[v9] Backport #13016 (Buddy merge for #11939) #13286

Merged
merged 6 commits into from
Jun 10, 2022

Conversation

webvictim
Copy link
Contributor

@webvictim webvictim commented Jun 8, 2022

The PodSecurityPolicy specifies MustRunAsNonRoot but the image runs as root.
Error: container has runAsNonRoot and image will run as root (pod: "<redacted>", container: teleport).
We expose the securityContext to allow forcing to run as a non-root user such as 99 (nobody) and respect the psp.

Co-authored-by: daquinoaldo [email protected]

Backports #13016 to branch/v9

The PodSecurityPolicy specifies `MustRunAsNonRoot` but the image runs as root.
`Error: container has runAsNonRoot and image will run as root (pod: "<redacted>", container: teleport).`
We expose the securityContext to allow forcing to run as a non-root user such as 99 (nobody) and respect the psp.

Co-authored-by: daquinoaldo <[email protected]>
@webvictim webvictim added the helm label Jun 8, 2022
@webvictim webvictim self-assigned this Jun 8, 2022
@webvictim webvictim changed the title feat(helm): expose securityContext as a value (#13016) [v9] Backport #13016 (Buddy merge for #11939) Jun 8, 2022
@webvictim webvictim enabled auto-merge (squash) June 8, 2022 14:24
@webvictim webvictim merged commit 16196c7 into branch/v9 Jun 10, 2022
@webvictim webvictim deleted the gus/v9/backport-13016 branch March 20, 2023 16:07
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.

4 participants