-
Notifications
You must be signed in to change notification settings - Fork 813
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 runAsUser, runAsGroup, and allowPrivilegeEscalation to helm chart for Agones containers #3848
Comments
Not very familiar with these fields - but does it need to be configurable, or is this something we could set ourselves and leave on always? On Agones we set the user and group, so that probably shouldn't be configurable? And I can't think of a situation where we'd want an Agones Pod to enable |
@markmandel - I can't think of a reason why a game server would require a specific UID/GID. I could imagine that some binaries might want to bind to a privileged port to offer a some sort of file serving in-client (e.g. downloading a missing asset), however. Perhaps it's best to let it be easily configurable with overrides, should they be needed, but the defaults comply with existing K8S security audits. |
Should be good to add |
@jharris- Sure, sounds good! |
This ticket isn't for I'm trying to work out why they should be configurable. It seems like they should be set to optimal values, whatever that may be. |
Another way to put it might be, is there any reason why |
I believe we are in furious agreement 😃 |
That's good, because we were going to start with just defaulting this to But it's easy enough to make the |
Is your feature request related to a problem? Please describe.
Allow
securityContext
fields such asrunAsUser
,runAsGroup
, andallowPrivilegeEscalation
to be set onagones-{allocator,extensions,controller,ping,sidecar}
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
Describe the solution you'd like
Helm chart change
Describe alternatives you've considered
You can do this with
kustomize
.The text was updated successfully, but these errors were encountered: