-
Notifications
You must be signed in to change notification settings - Fork 831
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 metadata to agones webhook autoscaler request #3957
Changes from all commits
9880a7f
7c0811d
52673c8
643efb5
b819b17
1d43bbe
de9f9f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -374,6 +374,10 @@ type FleetAutoscaleRequest struct { | |
Namespace string `json:"namespace"` | ||
// The Fleet's status values | ||
Status v1.FleetStatus `json:"status"` | ||
{{% feature publishVersion="1.48.0" %}} | ||
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Super late to this party, but new additions will need a feature shortcode. See https://agones.dev/site/docs/contribute/#within-a-page for an example. Also an addition here: https://github.com/googleforgames/agones/blob/main/site/content/en/docs/Guides/feature-stages.md?plain=1#L41 (also feature shortcode - may need to copy the whole table). This is because docs get published intermediately, so we need to hold back documentation on unreleased features. |
||
MetaData *metav1.ObjectMeta `json:"metadata,omitempty"` | ||
{{% /feature %}} | ||
} | ||
|
||
type FleetAutoscaleResponse 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.
Mid table items tend to render badly, you may need to copy the whole table. But I'll run it and we can see what it looks like in preview.
(
make site-server
will give you a local version if you would like to try it).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.
https://1d43bbe-dot-preview-dot-agones-images.appspot.com/site/docs/guides/feature-stages/#feature-gates
Going to have to copy the whole block, but otherwise, I think this is good to go.