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

Why do the druid-operator need to run in a privileged security context. #178

Open
avnes opened this issue Sep 3, 2024 · 1 comment
Open

Comments

@avnes
Copy link

avnes commented Sep 3, 2024

There are four pod defintions that is configured with containerSecurityContext.privileged: true.

Why is this needed? This is clearly a red flag.

https://cheatsheetseries.owasp.org/cheatsheets/Kubernetes_Security_Cheat_Sheet.html#continuously-assess-the-privileges-used-by-containers

containerSecurityContext:
    privileged: true

These are the definitions:
https://github.com/datainfrahq/druid-operator/blob/master/e2e/configs/druid-cr.yaml
https://github.com/datainfrahq/druid-operator/blob/master/e2e/configs/druid-mmless.yaml
https://github.com/datainfrahq/druid-operator/blob/master/tutorials/druid-on-kind/druid-mmless.yaml
https://github.com/datainfrahq/druid-operator/blob/master/examples/tiny-cluster-mmless.yaml

@AdheipSingh
Copy link
Contributor

Go ahead and submit a PR !
Thanks for bring this up.

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

No branches or pull requests

2 participants