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

Fixes security context rendering of empty object value. #2007

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

pjuarezd
Copy link
Member

This will allow to render securityContext: {} and containerSecurityContext: {}.

In Openshift leaving security context as an empty object {} allows set the right values to the pods and containers to be in compliance with the Security Context Constrains (SCC) in the namespace.

https://docs.openshift.com/container-platform/4.15/authentication/managing-security-context-constraints.html

This will allow to render `securityContext: {}` and `containerSecurityContext: {}.

In Openshift leaving security context as an empty object sets the right values to the pods and containers to be in compliance with the Security Context Constrains (SCC) in the namespace.

https://docs.openshift.com/container-platform/4.15/authentication/managing-security-context-constraints.html
Signed-off-by: pjuarezd <[email protected]>
Copy link
Member

@harshavardhana harshavardhana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍰

@pjuarezd pjuarezd assigned pjuarezd and aj-jester and unassigned aj-jester Feb 29, 2024
@pjuarezd pjuarezd requested a review from aj-jester February 29, 2024 23:44
@harshavardhana harshavardhana merged commit 17f6d92 into minio:master Mar 1, 2024
26 checks passed
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.

3 participants