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 securityContext and podSecurityContext options in Dragonfly CRD #257

Open
maxpain opened this issue Nov 3, 2024 · 1 comment
Open
Assignees

Comments

@maxpain
Copy link

maxpain commented Nov 3, 2024

Hello. I can't deploy Dragonfly CR since my Kubernetes cluster has a restricted Pod Security profile.

create Pod dragonfly-0 in StatefulSet dragonfly failed error: pods "dragonfly-0" is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false (container "dragonfly" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "dragonfly" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "dragonfly" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "dragonfly" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
@Pothulapati Pothulapati self-assigned this Nov 7, 2024
@Pothulapati
Copy link
Collaborator

Pothulapati commented Dec 11, 2024

Would #255 be a fix? It seems to add the ability configure a custom pod security profile, and can you use that to get through the restriction?

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