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

Configure PodSecurityPolicy for Odiglet during installation if enabled in cluster #547

Open
edeNFed opened this issue Oct 4, 2023 · 2 comments
Labels
bug Something isn't working go Pull requests that update Go code hacktoberfest

Comments

@edeNFed
Copy link
Contributor

edeNFed commented Oct 4, 2023

Kubernetes clusters with PodSecurityPolicy enabled may refuse to deploy Odiglet due to the privileged permissions required (hostPID, hostNetwork, hostPath, etc).
We should detect if PodSecurityPolicy is enabled in this cluster (maybe by finding if the resource exists?)
and if so we should create a new policy and bind it to the odiglet service account.

@edeNFed edeNFed added bug Something isn't working go Pull requests that update Go code hacktoberfest labels Oct 4, 2023
@tomekz
Copy link

tomekz commented Oct 8, 2023

/assign

@prady0t
Copy link
Contributor

prady0t commented Oct 15, 2023

Hey can you let me work on this? I'm really curious around K8s security and PSP. I gained some experience of security policies while I was contributing to Kyverno (CNCF project). I would most definitely need help from your side but it would help me learn a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working go Pull requests that update Go code hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants