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 to values.yaml and deployment templates #159

Open
fgeck opened this issue Jan 8, 2025 · 0 comments
Open

Add securityContext to values.yaml and deployment templates #159

fgeck opened this issue Jan 8, 2025 · 0 comments

Comments

@fgeck
Copy link

fgeck commented Jan 8, 2025

Hello,

I would like to request the support for securityContext in the helm chart of portainer to be able to deploy the charts in a recommended secure way and avoid warnings like:

W0108 16:41:44.954400   40518 warnings.go:70] would violate PodSecurity "restricted:latest": allowPrivilegeEscalation != false (container "portainer" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "portainer" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "portainer" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "portainer" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
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

1 participant