-
Notifications
You must be signed in to change notification settings - Fork 825
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
Adds default values for Counters and Lists fields #2983
Adds default values for Counters and Lists fields #2983
Conversation
Build Failed 😱 Build Id: 14932a2a-bc27-41d4-9d74-13065881caf2 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
08bc9ca
to
f1120ff
Compare
Build Failed 😱 Build Id: ae7acbf5-ffd2-4af5-9fc5-d92617e0d9c6 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
f1120ff
to
a547aba
Compare
Build Failed 😱 Build Id: 49452c21-942b-4ac7-a694-ef3a23bd537d To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: 56a26205-8ed2-47ab-8fae-3037847e9cd1 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
350176a
to
3db7aae
Compare
Build Failed 😱 Build Id: 85eebc7f-372d-45d1-94e8-3a382918aae6 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
3db7aae
to
b881ee3
Compare
Build Succeeded 👏 Build Id: 67b0af3c-a5d7-4d09-9cbc-4f1b900b8a08 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Build Succeeded 👏 Build Id: d661db47-d229-4369-99fc-ece1f460f0cc The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Build Succeeded 👏 Build Id: 25539f75-d78f-480e-8de2-0f3521841cb8 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
@@ -311,6 +304,18 @@ type PlayerStatus struct { | |||
IDs []string `json:"ids"` | |||
} | |||
|
|||
// CounterStatus stores the current counter values | |||
type CounterStatus struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it's used in both Spec and Status, maybe the names should be Counter
and List
? WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just marking as request changes, since I'd like to get my comments reviewed before merging.
Build Failed 😱 Build Id: d2d98834-d3ff-48bd-9f2b-347d5cb9b778 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
392ac06
to
8d39214
Compare
New changes are detected. LGTM label has been removed. |
Build Failed 😱 Build Id: c61a5a8d-e4c6-4433-b81f-624d23ba907d To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: ba73c3f8-e58c-4423-af93-8933496d558e The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Ruh roh. Lots of conflicts. Sorry - that was my CRD work. |
8d39214
to
473afb7
Compare
Build Failed 😱 Build Id: 020b8349-51b1-4ea2-9b6e-af789a6fc23f To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
GamerServerStatus for Counters and Lists from the GameServerSpec
473afb7
to
0096dcb
Compare
Build Failed 😱 Build Id: 7d7e4f61-5ce6-466f-a83d-957d2c2b204e To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 9d2d22b4-3b7e-4dc5-bf9e-0e19a5bfe442 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 1255b437-c03e-4609-8c0d-1927378a4078 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
b7188ef
to
fde7181
Compare
feature gates in the CRDs.
fde7181
to
709b1cd
Compare
Build Succeeded 👏 Build Id: 5ef69e69-d4e4-4176-8416-913b2b0438ea The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
What type of PR is this?
/kind feature
What this PR does / Why we need it:
Adds default values for Counters and Lists fields.
Populates initial GamerServerStatus for Counters and Lists from the GameServerSpec.
Removes remaining references to featureGates in CRDs (these fields are validated in the validate function).
Which issue(s) this PR fixes:
Working on #2716
Special notes for your reviewer: