-
Notifications
You must be signed in to change notification settings - Fork 823
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 Agones version into Gameserver Annotation #498
Conversation
Build Failed 😱 Build Id: 02c37e2c-a16b-4412-9e1e-e085795d6291 Build Logs
|
Build Failed 😱 Build Id: 5201268e-fef6-4790-9e52-8c2d5576b692 Build Logs
|
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.
Added a small improvement I'd like to see.
@victor-prodan - this was your original issue - anything else you would like to see here? 😄
pkg/apis/stable/v1alpha1/fleet.go
Outdated
@@ -25,6 +26,9 @@ const ( | |||
// FleetNameLabel is the label that the name of the Fleet | |||
// is set to on GameServerSet and GameServer the Fleet controls | |||
FleetNameLabel = stable.GroupName + "/fleet" | |||
// FleetSdkVersionAnnotation is the key for version annotation | |||
// associated with the Fleet | |||
FleetSdkVersionAnnotation = stable.GroupName + "/sdk-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.
Since this is the same everywhere, should we just have one central VersionAnnotation
value?
This is what I wanted, thanks for implementing it! |
Build Succeeded 👏 Build Id: ce0a95a2-adbd-45e4-a2a4-8c470867f242 The following development artifacts have been built, and will exist for the next 30 days:
To install this version:
|
Build Succeeded 👏 Build Id: 654fc6c1-f4f1-4eab-8c3b-21197012950e The following development artifacts have been built, and will exist for the next 30 days:
To install this version:
|
Just a gentle bump - if you switch this to a using a central (Just trying to clear out PRs 😄 ) |
Build Failed 😱 Build Id: b384df91-daf7-4327-a56d-fbe102596122 Build Logs
|
Add sdk-version annotation into Gameserver and Pod spec.
Build Succeeded 👏 Build Id: 94049346-270f-426e-95d2-eaceac17fb20 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website will exist for the next 30 days: 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!
Add "stable.agones.dev/sdk-version" annotation into Gameserver CRD and Pod specification as well as Fleet CRD. So that Sidecar can be retrieved using WatchGameServer() callback.
Covers #310 As a game server, I want to get the Agones sidecar version.