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

Inline JSON: GameServerAllocation v1.LabelSelector #2877

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

markmandel
Copy link
Member

@markmandel markmandel commented Dec 16, 2022

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking

/kind bug

/kind cleanup
/kind documentation
/kind feature
/kind hotfix

What this PR does / Why we need it:

The K8s YAML library will inline embeded structs, but some other ones will not. So adding the json:",inline" hint, so that they know that the v1.LabelSelector should be inlined if people are so inclined to reference it via Golang yaml libraries.

Which issue(s) this PR fixes:

Closes #2853

Special notes for your reviewer:

Include regeneration of the crd docs and client libraries, which picked up on some small changes.

@markmandel markmandel added kind/bug These are bugs. area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc labels Dec 16, 2022
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: fa9f5b34-a636-4b5f-b10f-1b3ffec863b9

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@markmandel
Copy link
Member Author

Ooops, forgot to regenerate things.

The K8s YAML library will inline embeded structs, but some other ones
will not. So adding the `json:",inline"` hint, so that they know that
the `v1.LabelSelector` should be inlined if people are so inclined to
reference it via Golang yaml libraries.

Include regeneration of the crd docs and client libraries, which
picked up on some small changes.

Closes googleforgames#2853
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 744c5ee5-9a26-4f76-b799-636f241f2865

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:

  • git fetch https://github.com/googleforgames/agones.git pull/2877/head:pr_2877 && git checkout pr_2877
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.tag=1.29.0-c61a21a-amd64

@google-oss-prow google-oss-prow bot added the lgtm label Dec 20, 2022
@roberthbailey roberthbailey merged commit 176ffb2 into googleforgames:main Dec 20, 2022
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markmandel, roberthbailey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [markmandel,roberthbailey]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@markmandel markmandel deleted the bug/selector-inline branch December 21, 2022 23:13
@Kalaiselvi84 Kalaiselvi84 added this to the 1.29.0 milestone Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/bug These are bugs. lgtm size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GameServerAllocation example yaml file has incorrect format for selectors
4 participants