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 PodSecurityPolicy directive for traefik pod #224

Closed
gforsyth opened this issue Mar 19, 2020 · 2 comments · Fixed by #227
Closed

Add PodSecurityPolicy directive for traefik pod #224

gforsyth opened this issue Mar 19, 2020 · 2 comments · Fixed by #227

Comments

@gforsyth
Copy link
Contributor

The traefik default pod runs as root for Reasons™: containous/traefik-library-image#38

If a PodSecurityPolicy is in place, it will prevent traefik from starting (because root) -- fix is to add an option to runAsUser to the traefik spec if PodSecurityPolicy is enabled.

@jcrist
Copy link
Member

jcrist commented Mar 19, 2020

Hmmm, perhaps we should just do this by default for all cases. One less thing to configure.

@gforsyth
Copy link
Contributor Author

That much simpler, I guess

This was referenced Mar 19, 2020
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 a pull request may close this issue.

2 participants