-
Notifications
You must be signed in to change notification settings - Fork 817
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
Fleet/GameServerSet Validation: Able to create a Fleet with label and annotations length > 63 symbols #1244
Comments
Similar validation for Pods: |
Working on a solution to this issue.
This will result in no GameServer could be created :
https://gist.github.com/aLekSer/b490a8e129986d102685abc2269c65e6 |
Same applies to annotations key length, which should not exceed 63 symbols as well:
|
This might be useful for Annotations validation: |
Working on the annotation fix in a branch: |
There is an option to create an invalid fleet or gameserverset with oversized label length.
What happened:
Fleet was created successfully.
What you expected to happen:
There should be an error on a Fleet validation.
How to reproduce it (as minimally and precisely as possible):
Fleet configuration
fleet.yaml
:Run:
Same steps aplies to GSS if you change Fleet to
kind: GameServerSet
with no errors on create.Error in Controller logs:
Anything else we need to know?:
Environment:
kubectl version
):Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:23:11Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.12-gke.13", GitCommit:"39fe6cf6b77a3a0f620bd89db92f5133be67aa91", GitTreeState:"clean", BuildDate:"2019-11-13T20:44:51Z", GoVersion:"go1.12.11b4", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered: