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 support for setting pod / container security context #1178

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

mitchmckenzie
Copy link
Contributor

@mitchmckenzie mitchmckenzie commented Nov 20, 2023

add support for setting pod / container security context

We use opa gatekeeper to enforce pod / container security policies in our clusters.
To make the robusta deployments compliant we need to be able to set the pod / container security context.

https://open-policy-agent.github.io/gatekeeper/website/

@arikalon1
Copy link
Contributor

arikalon1 commented Nov 21, 2023

Thanks for the PR @mitchmckenzie

This was merged few days ago: https://github.com/robusta-dev/robusta/pull/1148/files

Do we still need this PR?
Let me rephrase ... what capability are you adding here vs the previous change?

@mitchmckenzie
Copy link
Contributor Author

The previous PR didn't set the container security context for the grafana render. I also like to keep the templates dry by removing the else statements and moving the defaults to the default values file.

@arikalon1
Copy link
Contributor

Makes sense @mitchmckenzie , thanks for the explanation

Copy link
Contributor

@arikalon1 arikalon1 left a comment

Choose a reason for hiding this comment

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

Looks good
Thanks for the PR @mitchmckenzie !

@arikalon1 arikalon1 merged commit 579c86e into robusta-dev:master Nov 23, 2023
8 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.

None yet

2 participants