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

gameserver configurations have no validation on update. #530

Closed
jeremyje opened this issue Jan 29, 2019 · 7 comments
Closed

gameserver configurations have no validation on update. #530

jeremyje opened this issue Jan 29, 2019 · 7 comments
Labels
kind/bug These are bugs. stale Pending closure unless there is a strong objection. wontfix Sorry, but we're not going to do that.

Comments

@jeremyje
Copy link
Contributor

Right now there's only validation on creation of a gameserver. If you push a configuration that's invalid like static port with no port numbers via update. Agones will let that through.

@markmandel markmandel added the kind/bug These are bugs. label Jan 29, 2019
@jeremyje
Copy link
Contributor Author

I have a fix for this already. Discovered when working on #469

@roberthbailey
Copy link
Member

@jeremyje - do you still have a fix for this floating around? It'd be nice to get it added in, since I recently ran into this in my testing.

@jeremyje
Copy link
Contributor Author

No I abandoned the fix. My PR is referenced just above but I doubt it's compatible with what's there now. There's also plenty of edge cases that it doesn't quite work.

@markmandel
Copy link
Collaborator

If/when we come back to this, once Player Tracking is in, initialCapacity shouldn't be editable.

See: #1324 (comment) for more context

@markmandel
Copy link
Collaborator

Should we close this issue? Hasn't come up again? And it would possibly have performance implications to push GameServer updates through a mutation/validation webhook.

Since it's been a while and seems to be a non-issue for our end users, I'm going to suggest we close this unless anyone objects.

@markmandel markmandel added the stale Pending closure unless there is a strong objection. label Oct 8, 2021
@roberthbailey
Copy link
Member

closing sgtm.

@markmandel markmandel added the wontfix Sorry, but we're not going to do that. label Oct 19, 2021
@markmandel
Copy link
Collaborator

it's been 11 days, with no objections, so closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug These are bugs. stale Pending closure unless there is a strong objection. wontfix Sorry, but we're not going to do that.
Projects
None yet
Development

No branches or pull requests

3 participants