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

Support container Security Context #902

Open
mhutter opened this issue Oct 26, 2023 · 1 comment
Open

Support container Security Context #902

mhutter opened this issue Oct 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mhutter
Copy link
Contributor

mhutter commented Oct 26, 2023

Summary

As a security-conscious operator
I want to configure container security contexts
So that I can make K8up pods compliant to the "restricted" security standard
So that I can enforce a high security standard on my cluster.

Context

K8up already supports configuring the PodSecurityContext on the Pod level via a field in BackupSpec. However, there is also SecurityContext, which is a similar construct on the Contaner level: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container

In order to be compliant with the "restricted" Pod Security Standard, both fields must be edited.

Bonus: Make the defaults compatible with "restricted" :-)

Out of Scope

No response

Further links

Acceptance Criteria

No response

Implementation Ideas

Expose field in Backup spec

@mhutter mhutter added the enhancement New feature or request label Oct 26, 2023
@megian
Copy link
Contributor

megian commented Nov 28, 2023

#584 as a reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants